From ab7061aa2959346bec0c38efd8ae0c0ec86407b4 Mon Sep 17 00:00:00 2001 From: Ari Lazier Date: Tue, 15 Nov 2016 11:22:15 -0800 Subject: [PATCH] undo test.sh change --- scripts/test.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/test.sh b/scripts/test.sh index 70cc66b6..f931ff32 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -122,7 +122,9 @@ case "$TARGET" in xctest RealmJS ;; "react-tests") - ${SRCROOT}/scripts/reset-simulators.sh + if ! [ -z "${JENKINS_HOME}" ]; then + ${SRCROOT}/scripts/reset-simulators.sh + fi pushd tests/react-test-app @@ -134,7 +136,9 @@ case "$TARGET" in xctest ReactTestApp || xctest ReactTestApp ;; "react-example") - ${SRCROOT}/scripts/reset-simulators.sh + if ! [ -z "${JENKINS_HOME}" ]; then + ${SRCROOT}/scripts/reset-simulators.sh + fi pushd examples/ReactExample