Skip to content

Commit 01b36fb

Browse files
committed
Fix pythonpath for coverage
1 parent 28e66be commit 01b36fb

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
@@ -1458,7 +1458,7 @@ def python_coverage(args):
14581458
env['GRAAL_PYTHON_ARGS'] = " ".join(extra_args)
14591459
# run all our tests in the dev-home, so that lcov has consistent paths
14601460
# TODO tests with virtualenv won't pick this up
1461-
env['PYTHONPATH'] = os.path.join(_dev_pythonhome(), 'lib-python/3')
1461+
env['PYTHONPATH'] = f"{os.path.join(_dev_pythonhome(), 'lib-python/3')}:{os.path.join(_dev_pythonhome(), 'lib-graalpython')}"
14621462
if kwds.pop("tagged", False):
14631463
run_tagged_unittests(executable, env=env)
14641464
else:

0 commit comments

Comments
 (0)