We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24a6935 commit 4260054Copy full SHA for 4260054
scripts/run_android_emulator.sh
@@ -22,8 +22,9 @@ adb uninstall org.pytorch.executorch.test || true
22
adb install -t android-test-debug-androidTest.apk
23
24
adb logcat -c
25
-adb shell am instrument -w -r -e class org.pytorch.executorch.ModuleInstrumentationTest >result.txt \
26
- org.pytorch.executorch.test/androidx.test.runner.AndroidJUnitRunner 2>&1
+adb shell am instrument -w -r -e class org.pytorch.executorch.ModuleInstrumentationTest \
+ org.pytorch.executorch.test/androidx.test.runner.AndroidJUnitRunner >result.txt 2>&1
27
adb logcat -d > logcat.txt
28
cat logcat.txt
29
grep -q FAILURES result.txt || cat result.txt
30
+grep -q FAILURES result.txt || exit -1
0 commit comments