summaryrefslogtreecommitdiff
path: root/test/833-background-verification
diff options
context:
space:
mode:
Diffstat (limited to 'test/833-background-verification')
-rw-r--r--[-rwxr-xr-x]test/833-background-verification/run.py (renamed from test/833-background-verification/run)13
1 files changed, 9 insertions, 4 deletions
diff --git a/test/833-background-verification/run b/test/833-background-verification/run.py
index c4554734bc..44d80ac04e 100755..100644
--- a/test/833-background-verification/run
+++ b/test/833-background-verification/run.py
@@ -14,7 +14,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# Target 31 to run the background verifier.
-# Disable dex2oat of secondary dex files to ensure we always run the background
-# verifier.
-./default-run "$@" --runtime-option -Xtarget-sdk-version:31 --no-secondary-compilation
+
+def run(ctx, args):
+ # Target 31 to run the background verifier.
+ # Disable dex2oat of secondary dex files to ensure we always run the background
+ # verifier.
+ ctx.default_run(
+ args,
+ runtime_option=["-Xtarget-sdk-version:31"],
+ secondary_compilation=False)