ART: Disable detect_leaks in run-tests
Temporarily disable LeakSanitizer.
Bug: 38341789
Test: SANITIZE_HOST=address test-art-host
Change-Id: Ic0d4d9cc15406240c3763e58237803166c6efc42
diff --git a/test/etc/run-test-jar b/test/etc/run-test-jar
index e9a1304..a89fe5b 100755
--- a/test/etc/run-test-jar
+++ b/test/etc/run-test-jar
@@ -674,6 +674,12 @@
fi
RUN_TEST_ASAN_OPTIONS="${RUN_TEST_ASAN_OPTIONS}alloc_dealloc_mismatch=0"
+# Multiple shutdown leaks. b/38341789
+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}detect_leaks=0"
+
if [ "$HOST" = "n" ]; then
adb root > /dev/null
adb wait-for-device