summaryrefslogtreecommitdiff
path: root/test/715-clinit-implicit-parameter-annotations
diff options
context:
space:
mode:
Diffstat (limited to 'test/715-clinit-implicit-parameter-annotations')
-rw-r--r--test/715-clinit-implicit-parameter-annotations/build.py (renamed from test/715-clinit-implicit-parameter-annotations/build)8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/715-clinit-implicit-parameter-annotations/build b/test/715-clinit-implicit-parameter-annotations/build.py
index 2b5f92cc88..19c759cbc0 100644
--- a/test/715-clinit-implicit-parameter-annotations/build
+++ b/test/715-clinit-implicit-parameter-annotations/build.py
@@ -1,6 +1,5 @@
-#!/bin/bash
#
-# Copyright 2018 The Android Open Source Project
+# Copyright (C) 2022 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -14,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# Make us exit on a failure
-set -e
+from art_build_rules import build_run_test
-./default-build "$@" --experimental parameter-annotations
+build_run_test(experimental="parameter-annotations")