From c2039151ba45dd8784ae14126bb3f5229537054f Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 5 Nov 2020 14:58:12 -0800 Subject: [PATCH] Run zipalign tests in presubmit. Test: treehugger Change-Id: I2779c04313976d29c29c50920c0b356309c08439 --- tools/zipalign/Android.bp | 1 + tools/zipalign/TEST_MAPPING | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 tools/zipalign/TEST_MAPPING diff --git a/tools/zipalign/Android.bp b/tools/zipalign/Android.bp index 3eb660d8e..ab04d1dd4 100644 --- a/tools/zipalign/Android.bp +++ b/tools/zipalign/Android.bp @@ -65,4 +65,5 @@ cc_test_host { "tests/data/unaligned.zip", ], defaults: ["zipalign_defaults"], + test_suites: ["general-tests"], } diff --git a/tools/zipalign/TEST_MAPPING b/tools/zipalign/TEST_MAPPING new file mode 100644 index 000000000..98420f331 --- /dev/null +++ b/tools/zipalign/TEST_MAPPING @@ -0,0 +1,8 @@ +{ + "presubmit": [ + { + "name": "zipalign_tests", + "host": true + } + ] +}