From 9066cfe9886ac131c34d59ed0e2d287b0e3c0087 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Tue, 3 Mar 2009 19:31:44 -0800 Subject: auto import from //depot/cupcake/@135843 --- tests/CoreTests/run_junit.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 tests/CoreTests/run_junit.sh (limited to 'tests/CoreTests/run_junit.sh') diff --git a/tests/CoreTests/run_junit.sh b/tests/CoreTests/run_junit.sh new file mode 100755 index 0000000..b77794d --- /dev/null +++ b/tests/CoreTests/run_junit.sh @@ -0,0 +1,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 $* -- cgit v1.1