summaryrefslogtreecommitdiff
path: root/perf2cfg
diff options
context:
space:
mode:
authorJulien Desprez <jdesprez@google.com>2021-03-19 18:04:55 +0000
committerJulien Desprez <jdesprez@google.com>2021-03-19 18:05:02 +0000
commit998e90756e8214131096f0ff43fa79441528b7ce (patch)
tree34bec106b121db12adfa6f0d689578a814e566b7 /perf2cfg
parent29f356ed8a0cb407d663c71ee5b47065d3bcf181 (diff)
downloadextras-998e90756e8214131096f0ff43fa79441528b7ce.tar.gz
Migrate perf2cfg_test out of test mapping
Unit tests do not require an explicit test_mapping config (go/a-unit-tests) Change-Id: I1e1bc72d5f966e347c43dc5546c8e1f26a0305b1 Test: presubmit Bug: 183209529
Diffstat (limited to 'perf2cfg')
-rw-r--r--perf2cfg/Android.bp4
-rw-r--r--perf2cfg/TEST_MAPPING8
2 files changed, 3 insertions, 9 deletions
diff --git a/perf2cfg/Android.bp b/perf2cfg/Android.bp
index d88dcbda..e6b5505e 100644
--- a/perf2cfg/Android.bp
+++ b/perf2cfg/Android.bp
@@ -38,7 +38,6 @@ python_binary_host {
python_test_host {
name: "perf2cfg_test",
- test_suites: ["general-tests"],
srcs: [
"perf2cfg_test.py",
"tests/*.py",
@@ -46,4 +45,7 @@ python_test_host {
libs: [
"perf2cfg_library",
],
+ test_options: {
+ unit_test: true,
+ },
}
diff --git a/perf2cfg/TEST_MAPPING b/perf2cfg/TEST_MAPPING
deleted file mode 100644
index 673a293a..00000000
--- a/perf2cfg/TEST_MAPPING
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "presubmit": [
- {
- "name": "perf2cfg_test",
- "host": true
- }
- ]
-}