From 688b6e5e6ef92eda4822b51a4fbc96697503d858 Mon Sep 17 00:00:00 2001 From: Dan Shi Date: Fri, 31 Mar 2017 17:11:50 -0700 Subject: [PATCH] Add test config to libappfuse_test 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=libappfuse_test Change-Id: Ic3a23d9d609036658fd37fc72571e2fc7db0e88d --- libappfuse/Android.bp | 1 + libappfuse/AndroidTest.xml | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 libappfuse/AndroidTest.xml diff --git a/libappfuse/Android.bp b/libappfuse/Android.bp index f729faf73..e659f79fc 100644 --- a/libappfuse/Android.bp +++ b/libappfuse/Android.bp @@ -24,6 +24,7 @@ cc_library_shared { cc_test { name: "libappfuse_test", + test_suites: ["device-tests"], defaults: ["libappfuse_defaults"], shared_libs: ["libappfuse"], srcs: [ diff --git a/libappfuse/AndroidTest.xml b/libappfuse/AndroidTest.xml new file mode 100644 index 000000000..a9cd75493 --- /dev/null +++ b/libappfuse/AndroidTest.xml @@ -0,0 +1,26 @@ + + + + + + \ No newline at end of file