diff options
Diffstat (limited to 'test/163-app-image-methods')
| -rw-r--r-- | test/163-app-image-methods/run.py (renamed from test/163-app-image-methods/run) | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/test/163-app-image-methods/run b/test/163-app-image-methods/run.py index 74facb07bb..ae99f54f08 100644 --- a/test/163-app-image-methods/run +++ b/test/163-app-image-methods/run.py @@ -14,8 +14,13 @@ # 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. -# Also run the compiler with -j1 to ensure specific class verification order. -# And limit the managed heap to 16 MiB to speed up GCs. -exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile \ - -Xcompiler-option -j1 --runtime-option -Xmx16m + +def run(ctx, args): + # Use a profile to put specific classes in the app image. + # Also run the compiler with -j1 to ensure specific class verification order. + # And limit the managed heap to 16 MiB to speed up GCs. + ctx.default_run( + args, + profile=True, + Xcompiler_option=["--compiler-filter=speed-profile", "-j1"], + runtime_option=["-Xmx16m"]) |