From 0f0cccc102bb5ca431be9762986622e04be20941 Mon Sep 17 00:00:00 2001 From: Dan Shi Date: Fri, 31 Mar 2017 17:13:04 -0700 Subject: [PATCH] Add test config to bootstat_tests This change allows TradeFederation to run the test directly. Refer to b/35882476 for design and discussion of this change. Bug: 35882476 Test: local test tradefed.sh run template/local --template:map test=bootstat_tests Change-Id: I3bc2fa19faebe21f6faf8b81e206ea1581918344 --- bootstat/Android.bp | 1 + bootstat/AndroidTest.xml | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 bootstat/AndroidTest.xml diff --git a/bootstat/Android.bp b/bootstat/Android.bp index 95c9af50e..bc90a6e6a 100644 --- a/bootstat/Android.bp +++ b/bootstat/Android.bp @@ -74,6 +74,7 @@ cc_binary { // ----------------------------------------------------------------------------- cc_test { name: "bootstat_tests", + test_suites: ["device-tests"], defaults: ["bootstat_defaults"], host_supported: true, static_libs: [ diff --git a/bootstat/AndroidTest.xml b/bootstat/AndroidTest.xml new file mode 100644 index 000000000..f3783fa2d --- /dev/null +++ b/bootstat/AndroidTest.xml @@ -0,0 +1,26 @@ + + + + + + \ No newline at end of file