Move the art-gtest-heap-poisoning from Valgrind to ASan.
The art-gtest-heap-poisoning used to *not* use Valgrind, but
eventually started to use it when the ART build/test configuration
list was moved to testrunner.py.
Having some memory instrumentation when exercising the heap poisoning
configuration makes sense, but Valgrind is expensive. Move this
configuration to using Address Sanitizer instead to save some test
resources.
Test: art/test/testrunner/run_build_test_target.py art-gtest-heap-poisoning
Bug: 72080484
Change-Id: I735d1bfa3b15e4939d51dda6d9096ee599586061
diff --git a/test/testrunner/target_config.py b/test/testrunner/target_config.py
index 414e3e5..3064c76 100644
--- a/test/testrunner/target_config.py
+++ b/test/testrunner/target_config.py
@@ -327,27 +327,20 @@
'ART_USE_READ_BARRIER' : 'false'
}
},
- 'art-gtest-heap-poisoning': {
- 'make' : 'valgrind-test-art-host64',
- 'env' : {
- 'ART_HEAP_POISONING' : 'true',
- 'ART_USE_READ_BARRIER' : 'false'
- }
- },
# ASAN (host) configurations.
# These configurations need detect_leaks=0 to work in non-setup environments like build bots,
# as our build tools leak. b/37751350
- 'art-gtest-asan': {
+ 'art-gtest-asan': {
'make' : 'test-art-host-gtest',
'env': {
'SANITIZE_HOST' : 'address',
'ASAN_OPTIONS' : 'detect_leaks=0'
}
- },
- 'art-asan': {
+ },
+ 'art-asan': {
'run-test' : ['--interpreter',
'--optimizing',
'--jit'],
@@ -355,7 +348,16 @@
'SANITIZE_HOST' : 'address',
'ASAN_OPTIONS' : 'detect_leaks=0'
}
- },
+ },
+ 'art-gtest-heap-poisoning': {
+ 'make' : 'test-art-host-gtest',
+ 'env' : {
+ 'ART_HEAP_POISONING' : 'true',
+ 'ART_USE_READ_BARRIER' : 'false',
+ 'SANITIZE_HOST' : 'address',
+ 'ASAN_OPTIONS' : 'detect_leaks=0'
+ }
+ },
# ART Golem build targets used by go/lem (continuous ART benchmarking),
# (art-opt-cc is used by default since it mimics the default preopt config),