ART: Disable alloc_dealloc_mismatch in run-tests
Temporarily disable mismatch failures.
Bug: 38322765
Test: SANITIZE_HOST=address test-art-host
Change-Id: I1fd9b45adc4305d0dd3b3eabe78e4a7b2edff8cc
diff --git a/test/etc/run-test-jar b/test/etc/run-test-jar
index 19cf8b4..e9a1304 100755
--- a/test/etc/run-test-jar
+++ b/test/etc/run-test-jar
@@ -668,6 +668,12 @@
# Note: this is required as envsetup right now exports detect_leaks=0.
RUN_TEST_ASAN_OPTIONS=""
+# JVMTI has a mismatch of malloc with delete. b/38322765
+if [ "x$RUN_TEST_ASAN_OPTIONS" != "x" ] ; then
+ RUN_TEST_ASAN_OPTIONS="${RUN_TEST_ASAN_OPTIONS}:"
+fi
+RUN_TEST_ASAN_OPTIONS="${RUN_TEST_ASAN_OPTIONS}alloc_dealloc_mismatch=0"
+
if [ "$HOST" = "n" ]; then
adb root > /dev/null
adb wait-for-device