Add more tests to TEST_MAPPING
Test: treehugger
Change-Id: I1d7dd32fd7f90a20d61de4701293527f83dc4ec4
diff --git a/TEST_MAPPING b/TEST_MAPPING
index da16e65..d61c41a 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -1,6 +1,15 @@
{
"presubmit": [
{
+ "name": "bionic-unit-tests"
+ },
+ {
+ "name": "bionic-unit-tests-static"
+ },
+ {
+ "name": "linker-unit-tests"
+ },
+ {
"name": "CtsBionicTestCases"
},
{
@@ -16,6 +25,9 @@
"name": "gwp_asan_unittest"
},
{
+ "name": "malloc_debug_unit_tests"
+ },
+ {
"name": "malloc_debug_system_tests"
},
{
diff --git a/libc/malloc_debug/Android.bp b/libc/malloc_debug/Android.bp
index 3b3a22e..0601ce9 100644
--- a/libc/malloc_debug/Android.bp
+++ b/libc/malloc_debug/Android.bp
@@ -125,6 +125,7 @@
// ==============================================================
cc_test {
name: "malloc_debug_unit_tests",
+ test_suites: ["device-tests"],
srcs: [
"tests/backtrace_fake.cpp",
diff --git a/linker/Android.bp b/linker/Android.bp
index 5b06e3c..7dd3329 100644
--- a/linker/Android.bp
+++ b/linker/Android.bp
@@ -493,6 +493,7 @@
cc_test {
name: "linker-unit-tests",
+ test_suites: ["device-tests"],
cflags: [
"-g",
diff --git a/tests/Android.bp b/tests/Android.bp
index f79dc3e..cbf0a9f 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -1043,6 +1043,7 @@
defaults: [
"bionic_unit_tests_defaults",
],
+ test_suites: ["device-tests"],
data: [
":libdlext_test_runpath_zip_zipaligned",
":libdlext_test_zip_zipaligned",
@@ -1089,6 +1090,7 @@
name: "bionic-unit-tests-static",
gtest: false,
defaults: ["bionic_tests_defaults"],
+ test_suites: ["device-tests"],
host_supported: false,
srcs: [