Fix the script to run perf test

Test: Run the script
Change-Id: I6696dafce8782173adbfebc3f5fca661223bd147
This commit is contained in:
Tony Mak
2019-09-24 15:05:38 +01:00
parent 09ff08d055
commit 1643fca22a

View File

@@ -1,5 +1,5 @@
set -e
make TextClassifierPerfTests perf-setup.sh
build/soong/soong_ui.bash --make-mode TextClassifierPerfTests perf-setup.sh
adb install ${OUT}/testcases/TextClassifierPerfTests/arm64/TextClassifierPerfTests.apk
adb shell cmd package compile -m speed -f com.android.perftests.textclassifier
adb push ${OUT}/obj/EXECUTABLES/perf-setup.sh_intermediates/perf-setup.sh /data/local/tmp/