diff options
author | Alex Light <allight@google.com> | 2014-07-30 09:41:21 -0700 |
---|---|---|
committer | Alex Light <allight@google.com> | 2014-07-30 11:08:58 -0700 |
commit | bfac14acef0c2327ef8c28f146dd17d009aa8669 (patch) | |
tree | 8b1e6943ab8923f4519421af221dbbe2c5c77027 /test/run-all-tests | |
parent | ef57ed72a3ac856f6115ae89c609d4fd892e8c41 (diff) | |
download | art-bfac14acef0c2327ef8c28f146dd17d009aa8669.zip art-bfac14acef0c2327ef8c28f146dd17d009aa8669.tar.gz art-bfac14acef0c2327ef8c28f146dd17d009aa8669.tar.bz2 |
Add --always-clean flag to run-test.
This flag makes run-test remove the test-artifacts even if it fails. Also
enable this option by default when doing run-tests with make. Add
a ART_TEST_RUN_TEST_ALWAYS_CLEAN environment variable to control this
option.
Change-Id: I7867b400d570d8d679d9822d1fa65f49eb3522ae
Diffstat (limited to 'test/run-all-tests')
-rwxr-xr-x | test/run-all-tests | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/run-all-tests b/test/run-all-tests index 02f46f9..284cca0 100755 --- a/test/run-all-tests +++ b/test/run-all-tests @@ -95,6 +95,8 @@ while true; do elif [ "x$1" = "x--prebuild" ]; then run_args="${run_args} --prebuild" shift; + elif [ "x$1" = "x--always-clean" ]; then + run_args="${run_args} --always-clean" elif expr "x$1" : "x--" >/dev/null 2>&1; then echo "unknown $0 option: $1" 1>&2 usage="yes" @@ -114,7 +116,7 @@ if [ "$usage" = "yes" ]; then "further documentation:" echo " --debug --dev --host --interpreter --jvm --no-optimize" echo " --no-verify -O --update --valgrind --zygote --64 --relocate" - echo " --prebuild" + echo " --prebuild --always-clean" echo " Specific Runtime Options:" echo " --seq Run tests one-by-one, avoiding failures caused by busy CPU" ) 1>&2 |