Skip to content

Commit e37702e

Browse files
Do not run layereddebuginfotests for static builds.
1 parent 2e89e8c commit e37702e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

substratevm/mx.substratevm/mx_substratevm.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,8 @@ def svm_gate_body(args, tasks):
427427
if t:
428428
if mx.is_windows():
429429
mx.warn('layereddebuginfotest does not work on Windows')
430-
else:
430+
# Running debuginfotest with layers does not work for static builds
431+
elif '--static' not in args.extra_image_builder_arguments:
431432
with native_image_context(IMAGE_ASSERTION_FLAGS) as native_image:
432433
layereddebuginfotest(['--output-path', svmbuild_dir()] + args.extra_image_builder_arguments)
433434

0 commit comments

Comments
 (0)