Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1643fca2 authored by Tony Mak's avatar Tony Mak
Browse files

Fix the script to run perf test

Test: Run the script
Change-Id: I6696dafce8782173adbfebc3f5fca661223bd147
parent 09ff08d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
set -e
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 install ${OUT}/testcases/TextClassifierPerfTests/arm64/TextClassifierPerfTests.apk
adb shell cmd package compile -m speed -f com.android.perftests.textclassifier
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/
adb push ${OUT}/obj/EXECUTABLES/perf-setup.sh_intermediates/perf-setup.sh /data/local/tmp/