Skip to content

Commit f31573a

Browse files
committed
skip LLM
1 parent 3e739bc commit f31573a

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

scripts/run_android_emulator.sh

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,12 @@ $ADB_PATH wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; d
1818
echo "List all running emulators"
1919
$ADB_PATH devices
2020

21-
adb uninstall com.example.executorchllamademo || true
22-
adb uninstall com.example.executorchllamademo.test || true
23-
adb install -t app-debug.apk
24-
adb install -t app-debug-androidTest.apk
25-
26-
adb shell mkdir -p /data/local/tmp/llama
27-
adb push model.pte /data/local/tmp/llama
28-
adb push tokenizer.bin /data/local/tmp/llama
29-
adb logcat -c
30-
adb 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
33-
grep -q FAILURES result.txt || cat result.txt
34-
3521
adb uninstall org.pytorch.executorch.test || true
3622
adb install -t android-test-debug-androidTest.apk
3723

3824
adb logcat -c
39-
adb shell am instrument -w -r org.pytorch.executorch.test/androidx.test.runner.AndroidJUnitRunner >result.txt 2>&1
25+
adb shell am instrument -w -r org.pytorch.executorch.test/androidx.test.runner.AndroidJUnitRunner \
26+
-e class org.pytorch.executorch.ModuleInstrumentationTest >result.txt 2>&1
4027
adb logcat -d > logcat.txt
4128
cat logcat.txt
4229
grep -q FAILURES result.txt || cat result.txt

0 commit comments

Comments
 (0)