Add all compatible JVMTI tests to CTS
This adds the tests listed below to CTS. This is all compatible
run-tests as of platform/art commit b5708a93.
Note this does not include test 983 which requires some changes to the
build of libdexfile among other things to work.
Note that the following tests have android.jvmti.cts.needs_new_thread
set to true:
1927
1928
1930
Bug: 73252141
Test: cts-tradefed run commandAndExit cts-jvmti
Change-Id: I428d0bf2e74d26bbaceafba4d04ff7a454b2b867
diff --git a/hostsidetests/jvmti/run-tests/test-1932/AndroidTest.xml b/hostsidetests/jvmti/run-tests/test-1932/AndroidTest.xml
new file mode 100644
index 0000000..3d88bc4
--- /dev/null
+++ b/hostsidetests/jvmti/run-tests/test-1932/AndroidTest.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<configuration description="Config for CTS JVMTI test cases">
+ <option name="test-suite-tag" value="cts"/>
+ <option name="config-descriptor:metadata" key="component" value="art" />
+ <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
+ <option name="cleanup-apks" value="true" />
+ <option name="test-file-name" value="CtsJvmtiRunTest1932DeviceApp.apk" />
+ </target_preparer>
+ <test class="com.android.compatibility.common.tradefed.testtype.JarHostTest" >
+ <option name="jar" value="CtsJvmtiRunTest1932HostTestCases.jar" />
+ <option name="set-option" value="test-file-name:CtsJvmtiRunTest1932DeviceApp.apk" />
+ <option name="set-option" value="package-name:android.jvmti.cts.run_test_1932" />
+ <option name="runtime-hint" value="8s"/>
+ </test>
+</configuration>