ART: Disable test 906 for JIT
Suppress test which has potential allocations at inopportune
moments.
Bug: 31385354
Test: m ART_TEST_JIT=true test-art-host-run-test-906-iterate-heap
Change-Id: I137d5d2ba20b95ee4c4421e9da7526bee0c57d20
diff --git a/test/Android.run-test.mk b/test/Android.run-test.mk
index 1a0f78e..64ff5ba 100644
--- a/test/Android.run-test.mk
+++ b/test/Android.run-test.mk
@@ -488,8 +488,11 @@
# Known broken tests for the JIT.
# CFI unwinding expects managed frames, and the test does not iterate enough to even compile. JIT
# also uses Generic JNI instead of the JNI compiler.
+# Test 906 iterates the heap filtering with different options. No instances should be created
+# between those runs to be able to have precise checks.
TEST_ART_BROKEN_JIT_RUN_TESTS := \
- 137-cfi
+ 137-cfi \
+ 906-iterate-heap \
ifneq (,$(filter jit,$(COMPILER_TYPES)))
ART_TEST_KNOWN_BROKEN += $(call all-run-test-names,$(TARGET_TYPES),$(RUN_TYPES),$(PREBUILD_TYPES), \