aboutsummaryrefslogtreecommitdiff
path: root/TEST_MAPPING
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2020-05-07 14:46:02 -0700
committerChih-Hung Hsieh <chh@google.com>2020-05-07 16:03:02 -0700
commit4a07afab395e6fa7515c3519440c66207799c322 (patch)
tree8d8fc468a6d5cc67e70f968c9cd2080310f13c7f /TEST_MAPPING
parent467e34c698f25cd8a596ca3f894d0ec0dcf84452 (diff)
downloadslab-4a07afab395e6fa7515c3519440c66207799c322.tar.gz
Add rust_test modules and TEST_MAPPING
* Two 'slab' tests in src and tests directory cannot be merged. So they have different module names. Bug: 156009151 Test: atest --host --rebuild-module-info -c --include-subdirs external/rust/crates Change-Id: I988a4129d9ed1ff627d98ce6dba990fbdd549262
Diffstat (limited to 'TEST_MAPPING')
-rw-r--r--TEST_MAPPING14
1 files changed, 14 insertions, 0 deletions
diff --git a/TEST_MAPPING b/TEST_MAPPING
new file mode 100644
index 0000000..356d954
--- /dev/null
+++ b/TEST_MAPPING
@@ -0,0 +1,14 @@
+{
+ "presubmit": [
+ {
+ // Test name is module name because it has the crate_name suffix.
+ "name": "slab_tests_slab",
+ "host": true
+ },
+ {
+ // Default test name is module name + '_' + crate_name.
+ "name": "slab_tests_slab1_slab",
+ "host": true
+ }
+ ]
+}