diff options
author | Chih-Hung Hsieh <chh@google.com> | 2020-05-07 14:46:02 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2020-05-07 16:03:02 -0700 |
commit | 4a07afab395e6fa7515c3519440c66207799c322 (patch) | |
tree | 8d8fc468a6d5cc67e70f968c9cd2080310f13c7f /TEST_MAPPING | |
parent | 467e34c698f25cd8a596ca3f894d0ec0dcf84452 (diff) | |
download | slab-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_MAPPING | 14 |
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 + } + ] +} |