summaryrefslogtreecommitdiffstats
path: root/test/run-test
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2011-10-19 18:16:03 -0700
committerElliott Hughes <enh@google.com>2011-10-19 18:16:03 -0700
commit7c04610d42cad31e6593ae1561ed855aceac1d7a (patch)
tree42c030ff5fc14983eca8dc85c87b5eb287c7634e /test/run-test
parentc393a4f7c91534ac41a81d66b12c22e68df28fc7 (diff)
downloadart-7c04610d42cad31e6593ae1561ed855aceac1d7a.tar.gz
art-7c04610d42cad31e6593ae1561ed855aceac1d7a.tar.bz2
art-7c04610d42cad31e6593ae1561ed855aceac1d7a.zip
Add --invoke-with and -d to the dalvik tests.
Change-Id: I358945fd2b41c1615441c1687a582a66e662eba9
Diffstat (limited to 'test/run-test')
-rwxr-xr-xtest/run-test11
1 files changed, 8 insertions, 3 deletions
diff --git a/test/run-test b/test/run-test
index b80fbd9cc2..08da171e85 100755
--- a/test/run-test
+++ b/test/run-test
@@ -57,6 +57,9 @@ while true; do
elif [ "x$1" = "x--reference" ]; then
RUN="${progdir}/etc/reference-run-test-classes"
shift
+ elif [ "x$1" = "x-d" ]; then
+ run_args="${run_args} -d"
+ shift
elif [ "x$1" = "x--debug" ]; then
run_args="${run_args} --debug"
shift
@@ -76,8 +79,10 @@ while true; do
elif [ "x$1" = "x--no-precise" ]; then
run_args="${run_args} --no-precise"
shift
- elif [ "x$1" = "x--valgrind" ]; then
- run_args="${run_args} --valgrind"
+ elif [ "x$1" = "x--invoke-with" ]; then
+ shift
+ what="$1"
+ run_args="${run_args} --invoke-with \"${what}\""
shift
elif [ "x$1" = "x--dev" ]; then
run_args="${run_args} --dev"
@@ -90,7 +95,7 @@ while true; do
usage="yes"
shift
elif expr "x$1" : "x--" >/dev/null 2>&1; then
- echo "unknown option: $1" 1>&2
+ echo "unknown $0 option: $1" 1>&2
usage="yes"
break
else