Skip test unless ro.vendor.api_level >= 30
Fixes: 261775990 Test: `atest ApkVerityTest` on Pixel 7, saw the tests still ran Change-Id: I62fe6079a80d94c7d5602862120b3510c044573b
This commit is contained in:
@@ -16,6 +16,11 @@
|
||||
<configuration description="APK fs-verity integration/regression test">
|
||||
<option name="test-suite-tag" value="apct" />
|
||||
|
||||
<object type="module_controller" class="com.android.tradefed.testtype.suite.module.ShippingApiLevelModuleController">
|
||||
<!-- fs-verity is required since R/30 -->
|
||||
<option name="vsr-min-api-level" value="30" />
|
||||
</object>
|
||||
|
||||
<!-- This test requires root to write against block device. -->
|
||||
<target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user