diff options
Diffstat (limited to 'test/2038-hiddenapi-jvmti-ext')
| -rw-r--r-- | test/2038-hiddenapi-jvmti-ext/build.py (renamed from test/2038-hiddenapi-jvmti-ext/build) | 7 | ||||
| -rw-r--r--[-rwxr-xr-x] | test/2038-hiddenapi-jvmti-ext/run.py (renamed from test/2038-hiddenapi-jvmti-ext/run) | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/test/2038-hiddenapi-jvmti-ext/build b/test/2038-hiddenapi-jvmti-ext/build.py index f4b029fb82..942bb00273 100644 --- a/test/2038-hiddenapi-jvmti-ext/build +++ b/test/2038-hiddenapi-jvmti-ext/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,4 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -USE_HIDDENAPI=true ./default-build "$@" + +def build(ctx): + ctx.default_build(use_hiddenapi=True) diff --git a/test/2038-hiddenapi-jvmti-ext/run b/test/2038-hiddenapi-jvmti-ext/run.py index c6e62ae6cd..4796039801 100755..100644 --- a/test/2038-hiddenapi-jvmti-ext/run +++ b/test/2038-hiddenapi-jvmti-ext/run.py @@ -14,4 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -./default-run "$@" --jvmti + +def run(ctx, args): + ctx.default_run(args, jvmti=True) |