restart simulators

This commit is contained in:
Ari Lazier 2016-11-11 12:32:20 -08:00
parent bb7e98cbbe
commit d9398a0bb9

View File

@ -81,10 +81,6 @@ start_packager() {
}
xctest() {
# if ! [ -z "${JENKINS_HOME}" ]; then
# ${SRCROOT}/scripts/reset-simulators.sh
# fi
local dest="$(xcrun simctl list devices | grep -v unavailable | grep -m 1 -o '[0-9A-F\-]\{36\}')"
if [ -n "$XCPRETTY" ]; then
mkdir -p build
@ -126,6 +122,10 @@ case "$TARGET" in
xctest RealmJS
;;
"react-tests")
if ! [ -z "${JENKINS_HOME}" ]; then
${SRCROOT}/scripts/reset-simulators.sh
fi
pushd tests/react-test-app
npm install
@ -136,6 +136,10 @@ case "$TARGET" in
xctest ReactTestApp || xctest ReactTestApp
;;
"react-example")
if ! [ -z "${JENKINS_HOME}" ]; then
${SRCROOT}/scripts/reset-simulators.sh
fi
pushd examples/ReactExample
npm install