File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,17 @@ adb install -t app-debug-androidTest.apk
2626adb shell mkdir -p /data/local/tmp/llama
2727adb push model.pte /data/local/tmp/llama
2828adb push tokenizer.bin /data/local/tmp/llama
29+ adb logcat -c
2930adb shell am instrument -w -r com.example.executorchllamademo.test/androidx.test.runner.AndroidJUnitRunner > result.txt 2>&1
31+ adb logcat -d > logcat.txt
32+ cat logcat.txt
3033grep -q FAILURES result.txt || cat result.txt
3134
3235adb uninstall org.pytorch.executorch.test || true
3336adb install -t android-test-debug-androidTest.apk
3437
38+ adb logcat -c
3539adb shell am instrument -w -r org.pytorch.executorch.test/androidx.test.runner.AndroidJUnitRunner > result.txt 2>&1
40+ adb logcat -d > logcat.txt
41+ cat logcat.txt
3642grep -q FAILURES result.txt || cat result.txt
You can’t perform that action at this time.
0 commit comments