Skip to content

Commit f66d164

Browse files
committed
Ensure _native_junit does not put builder-parts on the image-classpath
1 parent 40d426b commit f66d164

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

substratevm/mx.substratevm/mx_substratevm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ def dummy_harness(test_deps, vm_launcher, vm_args):
623623
mx.abort('No matching unit tests found. Skip image build and execution.')
624624
with open(unittest_file, 'r') as f:
625625
mx.log('Building junit image for matching: ' + ' '.join(l.rstrip() for l in f))
626-
extra_image_args = mx.get_runtime_jvm_args(unittest_deps, jdk=mx_compiler.jdk, exclude_names=['substratevm:LIBRARY_SUPPORT'])
626+
extra_image_args = mx.get_runtime_jvm_args(unittest_deps, jdk=mx_compiler.jdk, exclude_names=mx_sdk_vm_impl.NativePropertiesBuildTask.implicit_excludes)
627627
macro_junit = '--macro:junit'
628628
if force_builder_on_cp:
629629
macro_junit += 'cp'

0 commit comments

Comments
 (0)