diff --git a/contrib/instrumentation.sh b/contrib/instrumentation.sh index 3812b7612..bb40a6f22 100644 --- a/contrib/instrumentation.sh +++ b/contrib/instrumentation.sh @@ -6,5 +6,5 @@ if ./gradlew jacocoInstrumentationTestReport; then echo "jacocoInstrumentationTestReport succeeded" >&2 else adb exec-out screencap -p >screencap.png - echo "jacocoInstrumentationTestReport failed" >&2 + exit 1 fi diff --git a/contrib/instrumentation_nightly.sh b/contrib/instrumentation_nightly.sh index 8b2552f00..f04e569da 100644 --- a/contrib/instrumentation_nightly.sh +++ b/contrib/instrumentation_nightly.sh @@ -6,5 +6,5 @@ if ./gradlew connectedDebugAndroidTest; then echo "connectedDebugAndroidTest succeeded" >&2 else adb exec-out screencap -p >screencap.png - echo "connectedDebugAndroidTest failed" >&2 + exit 1 fi