rerun tests on failure

This commit is contained in:
Ari Lazier 2016-11-11 11:31:00 -08:00
parent 588fc50e9f
commit 7683d1185a

View File

@ -11,7 +11,7 @@ CONFIGURATION="${2:-"Release"}"
DESTINATION= DESTINATION=
PATH="/opt/android-sdk-linux/platform-tools:$PATH" PATH="/opt/android-sdk-linux/platform-tools:$PATH"
SRCROOT=$(cd "$(dirname "$0")/.." && pwd) SRCROOT=$(cd "$(dirname "$0")/.." && pwd)
#XCPRETTY=true XCPRETTY=true
# Start current working directory at the root of the project. # Start current working directory at the root of the project.
cd "$SRCROOT" cd "$SRCROOT"
@ -133,7 +133,7 @@ case "$TARGET" in
start_packager start_packager
pushd ios pushd ios
xctest ReactTestApp xctest ReactTestApp || xctest ReactTestApp
;; ;;
"react-example") "react-example")
pushd examples/ReactExample pushd examples/ReactExample