Skip to content

Commit c7ef68b

Browse files
author
Felix Berlakovich
committed
[GR-58540] Use primary suite if no config is passed to _run_graalvm_cmd
PullRequest: graal/18912
2 parents ccfe18a + 9a612ee commit c7ef68b

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
@@ -169,7 +169,7 @@ def _run_graalvm_cmd(cmd_args, config, nonZeroIsFatal=True, out=None, err=None,
169169
dynamic_imports = [('/' if subdir else '') + di for di, subdir in mx.get_dynamic_imports()]
170170
if dynamic_imports:
171171
config_args += ['--dynamicimports=' + ','.join(dynamic_imports)]
172-
primary_suite_dir = None
172+
primary_suite_dir = mx.primary_suite().dir
173173

174174
args = config_args + cmd_args
175175
suite = primary_suite_dir or svm_suite().dir

0 commit comments

Comments
 (0)