summaryrefslogtreecommitdiffstats
path: root/test/run-all-tests
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2014-08-25 13:25:56 -0700
committerAlex Light <allight@google.com>2014-08-26 17:33:47 -0700
commit03a112d23694afffe9808082e7144b7e8744a4bd (patch)
treeddf08b6c106111ae238b57e6376f39eda2574388 /test/run-all-tests
parent84d7605f93f1e6e86a16e02017e305c90e93117a (diff)
downloadart-03a112d23694afffe9808082e7144b7e8744a4bd.tar.gz
art-03a112d23694afffe9808082e7144b7e8744a4bd.tar.bz2
art-03a112d23694afffe9808082e7144b7e8744a4bd.zip
Add run-test support for running without a working patchoat/dex2oat
Also add it to the test-art target. Bug: 17262039 Change-Id: Id31130194c46df66fc48852d6f8884f14cb08db4
Diffstat (limited to 'test/run-all-tests')
-rwxr-xr-xtest/run-all-tests7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/run-all-tests b/test/run-all-tests
index 98f1208e2e..318a0de17e 100755
--- a/test/run-all-tests
+++ b/test/run-all-tests
@@ -101,6 +101,12 @@ while true; do
elif [ "x$1" = "x--prebuild" ]; then
run_args="${run_args} --prebuild"
shift;
+ elif [ "x$1" = "x--no-dex2oat" ]; then
+ run_args="${run_args} --no-dex2oat"
+ shift;
+ elif [ "x$1" = "x--no-patchoat" ]; then
+ run_args="${run_args} --no-patchoat"
+ shift;
elif [ "x$1" = "x--always-clean" ]; then
run_args="${run_args} --always-clean"
elif expr "x$1" : "x--" >/dev/null 2>&1; then
@@ -123,6 +129,7 @@ if [ "$usage" = "yes" ]; then
echo " --debug --dev --host --interpreter --jvm --no-optimize"
echo " --no-verify -O --update --valgrind --zygote --64 --relocate"
echo " --prebuild --always-clean --gcstress --gcverify --trace"
+ echo " --no-patchoat --no-dex2oat"
echo " Specific Runtime Options:"
echo " --seq Run tests one-by-one, avoiding failures caused by busy CPU"
) 1>&2