diff options
Diffstat (limited to 'test/807-method-handle-and-mr')
| -rw-r--r--[-rwxr-xr-x] | test/807-method-handle-and-mr/build.py (renamed from test/807-method-handle-and-mr/build) | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/807-method-handle-and-mr/build b/test/807-method-handle-and-mr/build.py index 12a8e18d0b..027dd533d4 100755..100644 --- a/test/807-method-handle-and-mr/build +++ b/test/807-method-handle-and-mr/build.py @@ -1,6 +1,5 @@ -#!/bin/bash # -# Copyright 2017 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. -# Exit on failure. -set -e -./default-build "$@" --experimental method-handles +def build(ctx): + ctx.default_build(api_level="method-handles") |