Victor Hsieh | e82b9fb | 2019-02-06 09:56:58 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2019 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 | --> |
Victor Hsieh | c953f35 | 2023-08-15 13:01:24 -0700 | [diff] [blame] | 16 | <configuration description="fs-verity end-to-end test"> |
Victor Hsieh | e82b9fb | 2019-02-06 09:56:58 -0800 | [diff] [blame] | 17 | <option name="test-suite-tag" value="apct" /> |
Victor Hsieh | bbc133a | 2024-01-09 15:49:39 -0800 | [diff] [blame] | 18 | <option name="config-descriptor:metadata" key="parameter" value="secondary_user"/> |
Victor Hsieh | e82b9fb | 2019-02-06 09:56:58 -0800 | [diff] [blame] | 19 | |
Victor Hsieh | ec6dc4a | 2023-03-15 08:36:40 -0700 | [diff] [blame] | 20 | <object type="module_controller" class="com.android.tradefed.testtype.suite.module.ShippingApiLevelModuleController"> |
| 21 | <!-- fs-verity is required since R/30 --> |
| 22 | <option name="vsr-min-api-level" value="30" /> |
| 23 | </object> |
| 24 | |
Victor Hsieh | e82b9fb | 2019-02-06 09:56:58 -0800 | [diff] [blame] | 25 | <!-- This test requires root to write against block device. --> |
| 26 | <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer" /> |
| 27 | |
Victor Hsieh | a28687a | 2023-10-19 10:15:10 -0700 | [diff] [blame] | 28 | <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> |
Victor Hsieh | c953f35 | 2023-08-15 13:01:24 -0700 | [diff] [blame] | 29 | <option name="test-file-name" value="FsVerityTestApp.apk"/> |
| 30 | <option name="cleanup-apks" value="true"/> |
Victor Hsieh | e82b9fb | 2019-02-06 09:56:58 -0800 | [diff] [blame] | 31 | </target_preparer> |
| 32 | |
Victor Hsieh | 3b6c701 | 2022-06-23 09:52:54 -0700 | [diff] [blame] | 33 | <target_preparer class="com.android.compatibility.common.tradefed.targetprep.FilePusher"> |
| 34 | <!-- The build system produces both 32 and 64 bit variants with bitness suffix. Let |
| 35 | FilePusher find the filename with bitness and push to a remote name without bitness. |
| 36 | --> |
| 37 | <option name="append-bitness" value="true" /> |
| 38 | <option name="cleanup" value="true" /> |
| 39 | <option name="push" value="block_device_writer->/data/local/tmp/block_device_writer" /> |
| 40 | </target_preparer> |
| 41 | |
Victor Hsieh | e82b9fb | 2019-02-06 09:56:58 -0800 | [diff] [blame] | 42 | <test class="com.android.compatibility.common.tradefed.testtype.JarHostTest" > |
Victor Hsieh | c953f35 | 2023-08-15 13:01:24 -0700 | [diff] [blame] | 43 | <option name="jar" value="FsVerityTest.jar" /> |
Victor Hsieh | e82b9fb | 2019-02-06 09:56:58 -0800 | [diff] [blame] | 44 | </test> |
| 45 | </configuration> |