ahat-tests: Use LOCAL_TEST_CONFIG to set test config
Stop building a test config for ahat, just ahat-tests.
Bug: 110982517
Bug: 113503164
Bug: 113502250
Test: . build/envsetup.sh; lunch
m -j ahat-tests. Then,
./host/linux-x86/testcases/ahat-tests/ahat-tests.config
will be generated.
m -j ahat; No test config will be generated.
Or atest ahat-tests
Change-Id: Id4a9c3f5fea18d112f1495f313c02d2fdb5c1443
diff --git a/tools/ahat/Android.mk b/tools/ahat/Android.mk
index 8c74817..3b5230f 100644
--- a/tools/ahat/Android.mk
+++ b/tools/ahat/Android.mk
@@ -165,6 +165,7 @@
LOCAL_IS_HOST_MODULE := true
LOCAL_MODULE_TAGS := tests
LOCAL_MODULE := ahat-tests
+LOCAL_TEST_CONFIG := ahat-tests.xml
LOCAL_COMPATIBILITY_SUITE := general-tests
include $(BUILD_HOST_JAVA_LIBRARY)
AHAT_TEST_JAR := $(LOCAL_BUILT_MODULE)
diff --git a/tools/ahat/AndroidTest.xml b/tools/ahat/ahat-tests.xml
similarity index 100%
rename from tools/ahat/AndroidTest.xml
rename to tools/ahat/ahat-tests.xml