summaryrefslogtreecommitdiffstats
path: root/test/run-test
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2014-12-03 13:36:10 +0000
committerNicolas Geoffray <ngeoffray@google.com>2014-12-03 13:36:10 +0000
commitc9338b97c70d1b734695ccf9cb667708ac288b9d (patch)
tree85e7a6568bf730e0168dabbf201d54eed5545629 /test/run-test
parentbbba809a680fa7ad030da351e92786848d63b9bf (diff)
downloadart-c9338b97c70d1b734695ccf9cb667708ac288b9d.zip
art-c9338b97c70d1b734695ccf9cb667708ac288b9d.tar.gz
art-c9338b97c70d1b734695ccf9cb667708ac288b9d.tar.bz2
Explicitly give compiler options to test scripts
This makes tests pass when ART_USE_OPTIMIZING_COMPILER=true. Change-Id: I579c0371033435ead6b06830f15c00dbf7e98005
Diffstat (limited to 'test/run-test')
-rwxr-xr-xtest/run-test4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/run-test b/test/run-test
index 6b8f007..2abc1fa 100755
--- a/test/run-test
+++ b/test/run-test
@@ -194,6 +194,9 @@ while true; do
run_args="${run_args} -Xcompiler-option --compiler-backend=Optimizing"
image_suffix="-optimizing"
shift
+ elif [ "x$1" = "x--quick" ]; then
+ run_args="${run_args} -Xcompiler-option --compiler-backend=Quick"
+ shift
elif [ "x$1" = "x--no-verify" ]; then
run_args="${run_args} --no-verify"
shift
@@ -421,6 +424,7 @@ if [ "$usage" = "yes" ]; then
echo " --build-only Build test files only (off by default)."
echo " --interpreter Enable interpreter only mode (off by default)."
echo " --optimizing Enable optimizing compiler (off by default)."
+ echo " --quick Use Quick compiler (default)."
echo " --no-verify Turn off verification (on by default)."
echo " --no-optimize Turn off optimization (on by default)."
echo " --no-precise Turn off precise GC (on by default)."