no-image does not prebuild, so disable checker for this.
Follow-up on the fact we quicken now in OatFileAssistant.
test: test.py --no-image
Change-Id: I05179ca9d3fd943b04693ada4b7c31aae7bd0ac7
diff --git a/test/run-test b/test/run-test
index 7db37a4..08be213 100755
--- a/test/run-test
+++ b/test/run-test
@@ -728,8 +728,8 @@
# Checker when compiled with Optimizing on host.
if [[ "$TEST_NAME" =~ ^[0-9]+-checker- ]]; then
if [ "$runtime" = "art" -a "$image_suffix" = "" -a "$USE_JACK" = "true" ]; then
- # In no-prebuild mode, the compiler only quickens so disable the checker.
- if [ "$prebuild_mode" = "yes" ]; then
+ # In no-prebuild or no-image mode, the compiler only quickens so disable the checker.
+ if [ "$prebuild_mode" = "yes" -a "$have_image" = "yes" ]; then
run_checker="yes"
if [ "$target_mode" = "no" ]; then