Aaron Holden | 6219802 | 2016-04-18 16:37:28 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2016 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | <configuration description="Config for CTS JDWP test cases"> |
Guang Zhu | c40b6fd | 2017-06-02 17:17:14 -0700 | [diff] [blame] | 17 | <option name="config-descriptor:metadata" key="component" value="art" /> |
Aaron Holden | 6219802 | 2016-04-18 16:37:28 -0700 | [diff] [blame] | 18 | <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer"> |
| 19 | <option name="run-command" value="mkdir -p /data/local/tmp/ctsjdwp/java.io.tmpdir" /> |
| 20 | <option name="run-command" value="mkdir -p /data/local/tmp/ctsjdwp/user.home" /> |
| 21 | <option name="teardown-command" value="rm -rf /data/local/tmp/ctsjdwp" /> |
| 22 | </target_preparer> |
| 23 | <target_preparer class="com.android.compatibility.common.tradefed.targetprep.FilePusher"> |
| 24 | <option name="cleanup" value="true" /> |
| 25 | <option name="push" value="cts-dalvik-device-test-runner.jar->/data/local/tmp/ctsjdwp/cts-dalvik-device-test-runner.jar" /> |
| 26 | <option name="push" value="CtsJdwpTestCases.jar->/data/local/tmp/ctsjdwp/CtsJdwpTestCases.jar" /> |
| 27 | </target_preparer> |
| 28 | <test class="com.android.compatibility.testtype.DalvikTest" > |
| 29 | <option name="run-name" value="CtsJdwpTestCases" /> |
| 30 | <option name="classpath" value="/data/local/tmp/ctsjdwp/cts-dalvik-device-test-runner.jar" /> |
| 31 | <option name="classpath" value="/data/local/tmp/ctsjdwp/CtsJdwpTestCases.jar" /> |
| 32 | <option name="dalvik-arg" value="-Xcompiler-option" /> |
| 33 | <option name="dalvik-arg" value="--debuggable" /> |
Sebastien Hertz | e3f44fb | 2017-04-21 11:38:23 +0200 | [diff] [blame] | 34 | <option name="dalvik-arg" value="-Xusejit:true" /> |
Aaron Holden | 6219802 | 2016-04-18 16:37:28 -0700 | [diff] [blame] | 35 | <option name="dalvik-arg" value="-Djpda.settings.verbose=false" /> |
Aaron Holden | 6219802 | 2016-04-18 16:37:28 -0700 | [diff] [blame] | 36 | <option name="dalvik-arg" value="-Djpda.settings.timeout=10000" /> |
| 37 | <option name="dalvik-arg" value="-Djpda.settings.waitingTime=10000" /> |
Sebastien Hertz | e3f44fb | 2017-04-21 11:38:23 +0200 | [diff] [blame] | 38 | <option name="dalvik-arg" value="-Djpda.settings.debuggeeJavaPath='dalvikvm|#ABI#| -XXlib:libart.so -Xcompiler-option --debuggable -Xusejit:true'" /> |
Aaron Holden | 6219802 | 2016-04-18 16:37:28 -0700 | [diff] [blame] | 39 | <option name="known-failures" value="/expectations/jdwp-known-failures.txt" /> |
Julien Desprez | 34a8fa5 | 2016-11-02 12:11:38 +0000 | [diff] [blame] | 40 | <option name="runtime-hint" value="16m" /> |
Aaron Holden | 6219802 | 2016-04-18 16:37:28 -0700 | [diff] [blame] | 41 | |
Paul Duffin | 7a8f15f | 2017-08-17 13:37:08 +0100 | [diff] [blame] | 42 | <!-- Temporary work around to avoid running android.test.AndroidTestCase. --> |
| 43 | <!-- TODO(64541592) - remove once AndroidTestCase is not statically included. --> |
| 44 | <option name="exclude-filter" value="android.test.AndroidTestCase" /> |
Aaron Holden | 6219802 | 2016-04-18 16:37:28 -0700 | [diff] [blame] | 45 | </test> |
| 46 | </configuration> |