From 2705ebbbf13cbccec4d7ca1a710539520d43eb55 Mon Sep 17 00:00:00 2001 From: Dan Shi Date: Fri, 31 Mar 2017 17:12:46 -0700 Subject: [PATCH] Add test config to net_test_hci 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=net_test_hci Change-Id: Ifbac48ad8b425f43e6c919696cc72d5997e614db --- hci/Android.bp | 1 + hci/AndroidTest.xml | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 hci/AndroidTest.xml diff --git a/hci/Android.bp b/hci/Android.bp index 830900336..b508bec37 100644 --- a/hci/Android.bp +++ b/hci/Android.bp @@ -45,6 +45,7 @@ cc_library_static { // ======================================================== cc_test { name: "net_test_hci", + test_suites: ["device-tests"], defaults: ["libbt-hci_defaults"], local_include_dirs: [ "include", diff --git a/hci/AndroidTest.xml b/hci/AndroidTest.xml new file mode 100644 index 000000000..b7c1e6444 --- /dev/null +++ b/hci/AndroidTest.xml @@ -0,0 +1,26 @@ + + + + + + \ No newline at end of file -- 2.11.0