summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Vander Stoep <jeffv@google.com>2021-01-15 17:13:09 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-01-15 17:13:09 +0000
commitb5fe630547d175a5d935a5509108b5d40c20a4cc (patch)
tree8448dffde1a974fc8a103d868dea5c516f94fe05
parent2c16297c923407b7beadcd43ef306999f60cb2bc (diff)
parentcddd972cc5d8d459675d5a478c88a3987c683fb0 (diff)
downloadmatches-b5fe630547d175a5d935a5509108b5d40c20a4cc.tar.gz
Update TEST_MAPPING am: 6de71ad7e3 am: 906ed142e1 am: cddd972cc5
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/matches/+/1552514 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ia29d67f75316308b6ee023954cc3d27d1f397148
-rw-r--r--Android.bp6
-rw-r--r--TEST_MAPPING10
2 files changed, 10 insertions, 6 deletions
diff --git a/Android.bp b/Android.bp
index 95882d0..e679a38 100644
--- a/Android.bp
+++ b/Android.bp
@@ -27,6 +27,9 @@ rust_defaults {
rust_test_host {
name: "matches_host_test_lib",
defaults: ["matches_defaults"],
+ test_options: {
+ unit_test: true,
+ },
}
rust_test {
@@ -50,6 +53,9 @@ rust_defaults {
rust_test_host {
name: "matches_host_test_tests_macro_use_one",
defaults: ["matches_defaults_macro_use_one"],
+ test_options: {
+ unit_test: true,
+ },
}
rust_test {
diff --git a/TEST_MAPPING b/TEST_MAPPING
index 8b581f0..138b36c 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -1,16 +1,14 @@
-// Generated by cargo2android.py for tests in Android.bp
+// Generated by cargo2android.py for tests that depend on this crate.
{
"presubmit": [
{
- "host": true,
- "name": "matches_host_test_lib"
+ "name": "matches_device_test_lib"
},
{
- "name": "matches_device_test_lib"
+ "name": "url_device_test_src_lib"
},
{
- "host": true,
- "name": "matches_host_test_tests_macro_use_one"
+ "name": "unicode-bidi_device_test_src_lib"
},
{
"name": "matches_device_test_tests_macro_use_one"