diff options
Diffstat (limited to 'test/613-inlining-dex-cache')
| -rw-r--r-- | test/613-inlining-dex-cache/build.py | 20 | ||||
| -rw-r--r-- | test/613-inlining-dex-cache/run.py (renamed from test/613-inlining-dex-cache/run) | 7 | ||||
| -rw-r--r-- | test/613-inlining-dex-cache/test-metadata.json | 5 |
3 files changed, 28 insertions, 4 deletions
diff --git a/test/613-inlining-dex-cache/build.py b/test/613-inlining-dex-cache/build.py new file mode 100644 index 0000000000..7025b8150a --- /dev/null +++ b/test/613-inlining-dex-cache/build.py @@ -0,0 +1,20 @@ +# +# 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. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +def build(ctx): + if ctx.jvm: + return # The test does not build on JVM + ctx.default_build() diff --git a/test/613-inlining-dex-cache/run b/test/613-inlining-dex-cache/run.py index 9c1e7aa95c..f0b061b02e 100644 --- a/test/613-inlining-dex-cache/run +++ b/test/613-inlining-dex-cache/run.py @@ -14,7 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -flags="$@" -# We need the dex files pre-verified to avoid running the verifier -# at runtime which will update the dex cache. -exec ${RUN} ${flags/verify-at-runtime/interpret-only} + +def run(ctx, args): + ctx.default_run(args) diff --git a/test/613-inlining-dex-cache/test-metadata.json b/test/613-inlining-dex-cache/test-metadata.json new file mode 100644 index 0000000000..75f6c0270f --- /dev/null +++ b/test/613-inlining-dex-cache/test-metadata.json @@ -0,0 +1,5 @@ +{ + "build-param": { + "jvm-supported": "false" + } +} |