From e77f6be875b1683ec0559a5ee13a20b355008b7b Mon Sep 17 00:00:00 2001 From: Yu Shan Date: Tue, 22 Feb 2022 22:43:34 +0000 Subject: [PATCH] Add tests that might be affected by HAL to presubmit. Add list of tests to auto-presubmit for HAL changes. CarServiceTest and CarServiceUnitTest theoratically should not interact with real HAL, but add them as well just in case they are affected. Test: Presubmit Bug: 219843089 Change-Id: I47350d1d0683fd4fa505e289540fd5ce9034ebb9 --- automotive/TEST_MAPPING | 28 ++++++++++++++++++++++++++++ automotive/vehicle/TEST_MAPPING | 5 ----- 2 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 automotive/TEST_MAPPING diff --git a/automotive/TEST_MAPPING b/automotive/TEST_MAPPING new file mode 100644 index 0000000000..c64c8805d6 --- /dev/null +++ b/automotive/TEST_MAPPING @@ -0,0 +1,28 @@ +{ + "auto-presubmit": [ + { + "name": "AndroidCarApiTest" + }, + { + "name": "CarSecurityPermissionTest" + }, + { + "name": "CtsCarTestCases" + }, + { + "name": "CtsCarBuiltinApiTestCases" + }, + { + "name": "CtsCarHostTestCases" + }, + { + "name": "CtsCarBuiltinApiHostTestCases" + }, + { + "name": "CarServiceTest" + }, + { + "name": "CarServiceUnitTest" + } + ] +} \ No newline at end of file diff --git a/automotive/vehicle/TEST_MAPPING b/automotive/vehicle/TEST_MAPPING index 92cab96a87..ff6f3be52b 100644 --- a/automotive/vehicle/TEST_MAPPING +++ b/automotive/vehicle/TEST_MAPPING @@ -24,10 +24,5 @@ { "name": "DefaultVehicleHalTest" } - ], - "auto-postsubmit": [ - { - "name": "AndroidCarApiTest" - } ] }