Exclude android.test.AndroidTestCase from CtsJdwpTestCases
Prevent the DalvikTestRunner from trying to run tests in the
AndroidTestCase as that causes a test failure in the
testAndroidTestCaseSetupProperty method.
This is a temporary workaround, the longer term solution is to remove
AndroidTestCase from being statically included in the APK so that it
will not be found while scanning the APK.
Bug: 64541592
Test: run cts -m CtsJdwpTestCases
Change-Id: Iababc08589cda5b35dfbf749e6e21b1c15e309aa
diff --git a/tests/jdwp/AndroidTest.xml b/tests/jdwp/AndroidTest.xml
index 482abbe..b607f9e 100644
--- a/tests/jdwp/AndroidTest.xml
+++ b/tests/jdwp/AndroidTest.xml
@@ -38,5 +38,8 @@
<option name="known-failures" value="/expectations/jdwp-known-failures.txt" />
<option name="runtime-hint" value="5m" />
+ <!-- Temporary work around to avoid running android.test.AndroidTestCase. -->
+ <!-- TODO(64541592) - remove once AndroidTestCase is not statically included. -->
+ <option name="exclude-filter" value="android.test.AndroidTestCase" />
</test>
</configuration>