Revert "Move most art test off DX"
Reason for revert: 036-finalizer broken for gcstress configs
Note: The run-test script changes do not seem to allow
fallback to DX. That also puts into question the need
for the new "build" scripts in many tests.
Bug: 65168732
This reverts commit 9222417fdcf7c504fe86fa88b8a77363cb941e11.
Change-Id: I990167267ac01174cc612cac87dbacd77dec8a45
diff --git a/test/run-test b/test/run-test
index 5f85b08..5b43b52 100755
--- a/test/run-test
+++ b/test/run-test
@@ -45,7 +45,7 @@
export RUN="${progdir}/etc/run-test-jar"
export DEX_LOCATION=/data/run-test/${test_dir}
export NEED_DEX="true"
-export USE_D8="true"
+export USE_D8="false"
export USE_JACK="false"
export USE_DESUGAR="true"
export SMALI_ARGS=""
@@ -365,6 +365,9 @@
elif [ "x$1" = "x--build-only" ]; then
build_only="yes"
shift
+ elif [ "x$1" = "x--build-with-d8" ]; then
+ USE_D8="true"
+ shift
elif [ "x$1" = "x--build-with-javac-dx" ]; then
USE_JACK="false"
shift