summaryrefslogtreecommitdiffstats
path: root/tests/CoreTests/run_junit.sh
blob: b77794df2f74b8efcdec7a954d6200a487fef6d2 (plain)
1
2
3
4
5
6
7
8
9
# 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 $*