From 186b4d9ddde5c937f31428028eb8acc67b0d6898 Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Wed, 5 Aug 2020 16:30:43 -0700 Subject: [PATCH] Add libhealthd_charger_test to presubmit. Test: atest --test_mapping Change-Id: Idae68e575f66b53c8b587405856b4a1c532ecadc --- healthd/Android.bp | 4 ++++ healthd/TEST_MAPPING | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 healthd/TEST_MAPPING diff --git a/healthd/Android.bp b/healthd/Android.bp index 3a7ab75d2..65eaedd90 100644 --- a/healthd/Android.bp +++ b/healthd/Android.bp @@ -252,4 +252,8 @@ cc_test { static_libs: [ "libhealthd_charger", ], + test_suites: [ + "general-tests", + "device-tests", + ], } diff --git a/healthd/TEST_MAPPING b/healthd/TEST_MAPPING new file mode 100644 index 000000000..5893d10c7 --- /dev/null +++ b/healthd/TEST_MAPPING @@ -0,0 +1,7 @@ +{ + "presubmit": [ + { + "name": "libhealthd_charger_test" + } + ] +}