From b9642a67b12c9adbcc2a92129af3164468962037 Mon Sep 17 00:00:00 2001 From: David Srbecky Date: Wed, 2 Nov 2022 10:21:35 +0000 Subject: Run-tests: Rename "run" files to "run.py" Make it explicit that they are python files. Make the file attributes non-executable. Test: test.py -b -r --host --optimizing --64 Change-Id: I874c8453032298bcc15dbd1030a3f7c0fd58254f --- .../run.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 test/2238-checker-polymorphic-recursive-inlining/run.py (limited to 'test/2238-checker-polymorphic-recursive-inlining/run.py') diff --git a/test/2238-checker-polymorphic-recursive-inlining/run.py b/test/2238-checker-polymorphic-recursive-inlining/run.py new file mode 100644 index 0000000000..b85f926030 --- /dev/null +++ b/test/2238-checker-polymorphic-recursive-inlining/run.py @@ -0,0 +1,21 @@ +#!/bin/bash +# +# 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 run(ctx, args): + # Use a profile to put specific classes in the app image to trigger polymorphic inlining. + ctx.default_run( + args, profile=True, Xcompiler_option=["--compiler-filter=speed-profile"]) -- cgit v1.2.3-59-g8ed1b