ART: Add SANITIZE_HOST test configurations
Add art-gtest-asan and art-run-test-asan as host testing configurations.
Bug: 31098551
Test: art/test/testrunner/run_build_test_target.py art-gtest-asan
Test: art/test/testrunner/run_build_test_target.py art-run-test-asan
Change-Id: I1ef7ed78a661803b12cad5b8d91e69783fb6a659
diff --git a/test/testrunner/target_config.py b/test/testrunner/target_config.py
index 6e47c5e..97d4509 100644
--- a/test/testrunner/target_config.py
+++ b/test/testrunner/target_config.py
@@ -316,6 +316,23 @@
}
},
+ # ASAN (host) configurations.
+
+ 'art-gtest-asan': {
+ 'make' : 'test-art-host-gtest',
+ 'env': {
+ 'SANITIZE_HOST' : 'address'
+ }
+ },
+ 'art-run-test-asan': {
+ 'run-test' : ['--interpreter',
+ '--optimizing',
+ '--jit'],
+ 'env': {
+ 'SANITIZE_HOST' : 'address'
+ }
+ },
+
# 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),
#