From 14be0bbe4b8ed0af6dfbccc84de0af94fed4cd9d Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Thu, 9 May 2024 15:13:50 +0100 Subject: Regression test for b/336842546. We used to incorrectly assume a class in the profile would mean it would be in the app image. This got fixed with aosp/3064144. Test: 854-image-inlining Bug: 336842546 Change-Id: I0159b5594922b54f51943497fa25d782e6026bc4 --- test/854-image-inlining/run.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test/854-image-inlining/run.py (limited to 'test/854-image-inlining/run.py') diff --git a/test/854-image-inlining/run.py b/test/854-image-inlining/run.py new file mode 100644 index 0000000000..621611002e --- /dev/null +++ b/test/854-image-inlining/run.py @@ -0,0 +1,20 @@ +#!/bin/bash +# +# Copyright (C) 2024 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): + # Make sure we pass the profile when compiling. + ctx.default_run(args, profile=True) -- cgit v1.2.3-59-g8ed1b