David Brazdil | 1267a28 | 2020-10-15 12:33:20 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2020 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 | |
David Brazdil | 49f8a4d | 2021-03-04 09:57:33 +0000 | [diff] [blame] | 17 | <configuration description="Config for Virtualization tests"> |
David Brazdil | 1267a28 | 2020-10-15 12:33:20 +0000 | [diff] [blame] | 18 | <!-- Push test binaries to the device. --> |
| 19 | <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer"> |
| 20 | <option name="cleanup" value="true" /> |
| 21 | <option name="abort-on-push-failure" value="true" /> |
David Brazdil | 49f8a4d | 2021-03-04 09:57:33 +0000 | [diff] [blame] | 22 | <option name="push-file" key="VirtualizationTestCases" value="/data/local/tmp/virt-test/VirtualizationTestCases" /> |
| 23 | <option name="push-file" key="virt_test_kernel" value="/data/local/tmp/virt-test/kernel" /> |
| 24 | <option name="push-file" key="virt_test_initramfs.img" value="/data/local/tmp/virt-test/initramfs" /> |
David Brazdil | 1267a28 | 2020-10-15 12:33:20 +0000 | [diff] [blame] | 25 | </target_preparer> |
| 26 | |
Andrew Walbran | 523340e | 2021-07-01 15:33:07 +0000 | [diff] [blame^] | 27 | <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"> |
| 28 | <option name="force-root" value="true" /> |
| 29 | </target_preparer> |
| 30 | |
David Brazdil | 49f8a4d | 2021-03-04 09:57:33 +0000 | [diff] [blame] | 31 | <test class="com.android.tradefed.testtype.GTest" > |
| 32 | <option name="native-test-device-path" value="/data/local/tmp/virt-test" /> |
| 33 | <option name="module-name" value="VirtualizationTestCases" /> |
| 34 | <!-- test-timeout unit is ms, value = 2 minutes --> |
| 35 | <option name="native-test-timeout" value="120000" /> |
David Brazdil | 1267a28 | 2020-10-15 12:33:20 +0000 | [diff] [blame] | 36 | </test> |
| 37 | </configuration> |