summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJulien Desprez <jdesprez@google.com>2021-03-19 17:16:09 +0000
committerJulien Desprez <jdesprez@google.com>2021-03-19 17:16:16 +0000
commit2dc86b2956053abf8514bf65c26a4df1d5741c7a (patch)
treec5500853194ec772039f4c6db8bc1a4ce691de6c /scripts
parent00d54280d0069cdbdd7f1c41407a9a080e6b792a (diff)
Migrate manifest_*_test out of test mapping
Unit tests do not require an explicit TEST_MAPPING config Change-Id: Ieccebc78a26b9555803a2278e2962d0b388a6957 Test: presubmit Bug: 183209529
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Android.bp8
-rw-r--r--scripts/TEST_MAPPING12
2 files changed, 6 insertions, 14 deletions
diff --git a/scripts/Android.bp b/scripts/Android.bp
index 310c95986..9e8a602cc 100644
--- a/scripts/Android.bp
+++ b/scripts/Android.bp
@@ -55,7 +55,9 @@ python_test_host {
libs: [
"manifest_utils",
],
- test_suites: ["general-tests"],
+ test_options: {
+ unit_test: true,
+ },
}
python_library_host {
@@ -110,7 +112,9 @@ python_test_host {
libs: [
"manifest_utils",
],
- test_suites: ["general-tests"],
+ test_options: {
+ unit_test: true,
+ },
}
python_binary_host {
diff --git a/scripts/TEST_MAPPING b/scripts/TEST_MAPPING
deleted file mode 100644
index 1b0a2298f..000000000
--- a/scripts/TEST_MAPPING
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "presubmit" : [
- {
- "name": "manifest_check_test",
- "host": true
- },
- {
- "name": "manifest_fixer_test",
- "host": true
- }
- ]
-}