From 618f0e11d6889462878f8d59f702c0035ada6b18 Mon Sep 17 00:00:00 2001 From: Julien Desprez Date: Fri, 12 Oct 2018 13:48:14 -0700 Subject: [PATCH] Add adb_integration_test_device to general-tests Run some more tests for adb. Test: tradefed.sh run template/local_min --template:map test=atest --include-filter adb_integration_test_device --log-level VERBOSE --log-level-display verbose Bug: 112104122 Change-Id: I44b5a2aed8d86ab2dca62081d5b3b05f6e01cabd --- adb/Android.bp | 4 +++- adb/adb_integration_test_device.xml | 29 +++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 adb/adb_integration_test_device.xml diff --git a/adb/Android.bp b/adb/Android.bp index 53f440429..2a88de5e1 100644 --- a/adb/Android.bp +++ b/adb/Android.bp @@ -486,7 +486,7 @@ python_test_host { }, } -python_binary_host { +python_test_host { name: "adb_integration_test_device", main: "test_device.py", srcs: [ @@ -495,6 +495,8 @@ python_binary_host { libs: [ "adb_py", ], + test_config: "adb_integration_test_device.xml", + test_suites: ["general-tests"], version: { py2: { enabled: true, diff --git a/adb/adb_integration_test_device.xml b/adb/adb_integration_test_device.xml new file mode 100644 index 000000000..b89237734 --- /dev/null +++ b/adb/adb_integration_test_device.xml @@ -0,0 +1,29 @@ + + + +