From dfc0ab0ed164d0d2e38f374611dbad99e3c4b6ec Mon Sep 17 00:00:00 2001 From: markchien Date: Tue, 24 Dec 2019 18:14:15 +0800 Subject: [PATCH] Both build 32 and 64 architecture for TetheringTests Compile as multilib is neccessary, otherwise mts-tethering-coverage test plan will fail on armeabi-v7a because of failing to extract native libraries. This change also add mts tag to TetheringTests. Bug: 145490751 Test: -atest TetheringTests -m mts && mts-tradefed run mts-tethering-coverage Change-Id: I6425c135ca17213bcdd5198177993daf8280504e --- packages/Tethering/tests/unit/Android.bp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/Tethering/tests/unit/Android.bp b/packages/Tethering/tests/unit/Android.bp index 81a0548cd7182..53782fed1c509 100644 --- a/packages/Tethering/tests/unit/Android.bp +++ b/packages/Tethering/tests/unit/Android.bp @@ -20,7 +20,11 @@ android_test { srcs: [ "src/**/*.java", ], - test_suites: ["device-tests"], + test_suites: [ + "device-tests", + "mts", + ], + compile_multilib: "both", static_libs: [ "androidx.test.rules", "frameworks-base-testutils",