summaryrefslogtreecommitdiff
path: root/test/978-virtual-interface
diff options
context:
space:
mode:
Diffstat (limited to 'test/978-virtual-interface')
-rw-r--r--[-rwxr-xr-x]test/978-virtual-interface/build.py (renamed from test/978-virtual-interface/build)8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/978-virtual-interface/build b/test/978-virtual-interface/build.py
index 14230c2e1d..3e0ecd5973 100755..100644
--- a/test/978-virtual-interface/build
+++ b/test/978-virtual-interface/build.py
@@ -1,6 +1,5 @@
-#!/bin/bash
#
-# Copyright 2015 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
-./default-build "$@" --experimental default-methods
+def build(ctx):
+ ctx.default_build(api_level="default-methods")