summaryrefslogtreecommitdiff
path: root/test/2238-checker-polymorphic-recursive-inlining/run
diff options
context:
space:
mode:
Diffstat (limited to 'test/2238-checker-polymorphic-recursive-inlining/run')
-rw-r--r--test/2238-checker-polymorphic-recursive-inlining/run7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/2238-checker-polymorphic-recursive-inlining/run b/test/2238-checker-polymorphic-recursive-inlining/run
index a4e2692a00..b85f926030 100644
--- a/test/2238-checker-polymorphic-recursive-inlining/run
+++ b/test/2238-checker-polymorphic-recursive-inlining/run
@@ -14,5 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# Use a profile to put specific classes in the app image to trigger polymorphic inlining.
-exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
+
+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"])