From e464f1f08bb66e36752a67e17c1a6da7abbe7708 Mon Sep 17 00:00:00 2001 From: Roland Levillain Date: Thu, 14 Jun 2018 16:31:40 +0100 Subject: Re-enable some more ART gtests when running under ASan. Some tests in heap_verification_test and runtime_callbacks_test were disabled when running under a memory tool, but they seem to work fine when run under AddressSanitizer on host. They were presubmably disabled because of issues with Valgrind. Enable them unconditionally, as Valgrind support has been dropped from ART. Test: SANITIZE_HOST=address ASAN_OPTIONS='detect_leaks=0' make test-art-host-heap_verification_test Bug: 29282211 Bug: 62448488 Change-Id: Ic143e9c2f37420f770716d58ca603438198e413b --- runtime/gc/heap_verification_test.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'runtime/gc/heap_verification_test.cc') diff --git a/runtime/gc/heap_verification_test.cc b/runtime/gc/heap_verification_test.cc index 38695332bb..e0c7faf56d 100644 --- a/runtime/gc/heap_verification_test.cc +++ b/runtime/gc/heap_verification_test.cc @@ -83,7 +83,6 @@ TEST_F(VerificationTest, IsValidClassOrNotInHeap) { } TEST_F(VerificationTest, IsValidClassInHeap) { - TEST_DISABLED_FOR_MEMORY_TOOL(); ScopedObjectAccess soa(Thread::Current()); VariableSizedHandleScope hs(soa.Self()); Handle string( @@ -106,7 +105,6 @@ TEST_F(VerificationTest, DumpInvalidObjectInfo) { } TEST_F(VerificationTest, DumpValidObjectInfo) { - TEST_DISABLED_FOR_MEMORY_TOOL(); ScopedLogSeverity sls(LogSeverity::INFO); ScopedObjectAccess soa(Thread::Current()); Runtime* const runtime = Runtime::Current(); @@ -126,7 +124,6 @@ TEST_F(VerificationTest, DumpValidObjectInfo) { } TEST_F(VerificationTest, LogHeapCorruption) { - TEST_DISABLED_FOR_MEMORY_TOOL(); ScopedLogSeverity sls(LogSeverity::INFO); ScopedObjectAccess soa(Thread::Current()); Runtime* const runtime = Runtime::Current(); @@ -147,7 +144,6 @@ TEST_F(VerificationTest, LogHeapCorruption) { } TEST_F(VerificationTest, FindPathFromRootSet) { - TEST_DISABLED_FOR_MEMORY_TOOL(); ScopedLogSeverity sls(LogSeverity::INFO); ScopedObjectAccess soa(Thread::Current()); Runtime* const runtime = Runtime::Current(); -- cgit v1.2.3-59-g8ed1b