diff options
author | Elliott Hughes <enh@google.com> | 2012-02-14 14:10:10 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-02-14 14:10:10 -0800 |
commit | 58bcc40e42d0438d3a71149ac53420d50a71fd8c (patch) | |
tree | 23e7904af3a7d40e11b52b59d15e2f33c6eb22f9 /test/run-test | |
parent | b305770f45e9cec66c3bdf792c4e7fa9cff5ec6e (diff) | |
download | art-58bcc40e42d0438d3a71149ac53420d50a71fd8c.tar.gz art-58bcc40e42d0438d3a71149ac53420d50a71fd8c.tar.bz2 art-58bcc40e42d0438d3a71149ac53420d50a71fd8c.zip |
We replace -d with -O recently, but not uniformly.
Change-Id: Ia66037addabe8f0c61531d955bf570aa4c7c83e6
Diffstat (limited to 'test/run-test')
-rwxr-xr-x | test/run-test | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/run-test b/test/run-test index 50e45bbcd1..0c31c3179f 100755 --- a/test/run-test +++ b/test/run-test @@ -54,11 +54,11 @@ while true; do if [ "x$1" = "x--host" ]; then RUN="${progdir}/etc/host-run-test-jar" shift - elif [ "x$1" = "x--reference" ]; then + elif [ "x$1" = "x--jvm" ]; then RUN="${progdir}/etc/reference-run-test-classes" shift - elif [ "x$1" = "x-d" ]; then - run_args="${run_args} -d" + elif [ "x$1" = "x-O" ]; then + run_args="${run_args} -O" shift elif [ "x$1" = "x--debug" ]; then run_args="${run_args} --debug" @@ -142,6 +142,7 @@ if [ "$usage" = "yes" ]; then echo ' Omitting the test name or specifying "-" will use the' \ "current directory." echo " Runtime Options:" + echo " -O Run oatexec rather than oatexecd (off by default)." echo " --debug Wait for a debugger to attach." #echo " --gdb Run under gdb; incompatible with some tests." echo " --no-verify Turn off verification (on by default)." @@ -152,7 +153,7 @@ if [ "$usage" = "yes" ]; then echo " other runtime options are ignored." echo " --host Use the host-mode virtual machine." echo " --valgrind Use valgrind when running locally." - echo " --reference Use a host-local reference virtual machine." + echo " --jvm Use a host-local RI virtual machine." ) 1>&2 exit 1 fi |