Skip to content

Commit 4a11acd

Browse files
committed
Fix
1 parent 4260054 commit 4a11acd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/run_android_emulator.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ adb shell am instrument -w -r -e class org.pytorch.executorch.ModuleInstrumentat
2626
org.pytorch.executorch.test/androidx.test.runner.AndroidJUnitRunner >result.txt 2>&1
2727
adb logcat -d > logcat.txt
2828
cat logcat.txt
29-
grep -q FAILURES result.txt || cat result.txt
30-
grep -q FAILURES result.txt || exit -1
29+
grep -q FAILURES result.txt && cat result.txt
30+
grep -q FAILURES result.txt && exit -1

0 commit comments

Comments
 (0)