Skip to content

Commit d8264f5

Browse files
committed
reuse env from deploy_local_maven_repo which already is populated with MAVEN_OPTS also in junit-maven run with vanilla jdk
1 parent 3c35312 commit d8264f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1441,7 +1441,7 @@ def graalpython_gate_runner(args, tasks):
14411441

14421442
env['JAVA_HOME'] = os.environ['JAVA_HOME']
14431443
mx.log(f"Running integration JUnit tests on vanilla JDK: {os.environ.get('JAVA_HOME', 'system java')}")
1444-
mx.run_maven(mvn_cmd_base + ['-U', '-Dpolyglot.engine.WarnInterpreterOnly=false', 'clean', 'test'])
1444+
mx.run_maven(mvn_cmd_base + ['-U', '-Dpolyglot.engine.WarnInterpreterOnly=false', 'clean', 'test'], env=env)
14451445

14461446
# Unittests on JVM
14471447
with Task('GraalPython Python unittests', tasks, tags=[GraalPythonTags.unittest]) as task:

0 commit comments

Comments
 (0)