M7350/base/tests/CoreTests/run_junit.sh

10 lines
343 B
Bash
Raw Normal View History

2024-09-09 08:52:07 +00:00
# runs unit tests over adb shell using dalvikvm. The value added is setting the classpath for you
# and pointing to the junit textui test runner.
#
# the normal usage might be:
# (make MoreJavaTests)
# $ adb sync
# $ java/tests/run_junit.sh android.util.MyTest
adb shell exec dalvikvm -cp system/app/MoreTests.apk junit.textui.TestRunner $*