From 67586d188ec932b1390d63766f8ff23bcb0b3591 Mon Sep 17 00:00:00 2001 From: Kangping Dong Date: Wed, 5 Jun 2024 08:29:58 +0000 Subject: [PATCH] Use DeviceFeatureModuleController to run tests only if the device has the required feature. This is to avoid running tests on devices that do not support Thread. Otherwise, the tests will fail with ClassNotFoundException when the test classes are loaded Change-Id: I286394ae925ad7258aa82cd308ac963ee334992c --- thread/tests/cts/AndroidTest.xml | 5 +++++ thread/tests/integration/AndroidTest.xml | 5 +++++ thread/tests/unit/AndroidTest.xml | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/thread/tests/cts/AndroidTest.xml b/thread/tests/cts/AndroidTest.xml index ffc181c58d..6eda1e9cfd 100644 --- a/thread/tests/cts/AndroidTest.xml +++ b/thread/tests/cts/AndroidTest.xml @@ -38,6 +38,11 @@