ART: Change no-dex2oat test configuration
Restrict the configuration to no-prebuild. It is supposed to test
a runtime without dex2oat, so it makes no sense to have a prebuilt
odex.
Bug: 67596919
Test: art/test/testrunner/run_build_test_target.py art-no-dex2oat
Change-Id: I92307ebc7656a969735f509c37c9b751b4aa4039
diff --git a/test/147-stripped-dex-fallback/run b/test/147-stripped-dex-fallback/run
index e594010..37c3e1f 100755
--- a/test/147-stripped-dex-fallback/run
+++ b/test/147-stripped-dex-fallback/run
@@ -21,4 +21,4 @@
exit 1
fi
-${RUN} ${flags} --strip-dex --no-dex2oat
+${RUN} ${flags} --strip-dex --runtime-option -Xnodex2oat
diff --git a/test/etc/run-test-jar b/test/etc/run-test-jar
index bf964a6..753fc39 100755
--- a/test/etc/run-test-jar
+++ b/test/etc/run-test-jar
@@ -169,6 +169,7 @@
elif [ "x$1" = "x--no-dex2oat" ]; then
DEX2OAT="-Xcompiler:${FALSE_BIN}"
USE_DEX2OAT_AND_PATCHOAT="n"
+ PREBUILD="n" # Do not use prebuilt odex, either.
shift
elif [ "x$1" = "x--no-patchoat" ]; then
PATCHOAT="-Xpatchoat:${FALSE_BIN}"