File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -404,8 +404,13 @@ def graalpython_gate_runner(args, tasks):
404
404
405
405
with Task ('GraalPython Python tests' , tasks , tags = [GraalPythonTags .tagged ]) as task :
406
406
if task :
407
- with set_env (ENABLE_CPYTHON_TAGGED_UNITTESTS = "true" , ENABLE_THREADED_GRAALPYTEST = "true" ):
408
- run_python_unittests (python_gvm (), args = ["--python.WithThread=true" ], paths = ["test_tagged_unittests.py" ])
407
+ with set_env (ENABLE_CPYTHON_TAGGED_UNITTESTS = "true" , ENABLE_THREADED_GRAALPYTEST = "true" , GRAAL_PYTHONHOME = _dev_pythonhome ()):
408
+ # the tagged unittests must ron in the dev_pythonhome and using
409
+ # the dev CAPI, because that's where the tags are
410
+ run_python_unittests (python_gvm (),
411
+ args = ["--python.WithThread=true" ,
412
+ "--python.CAPI=" + mx .dependency ("com.oracle.graal.python.cext" ).get_output_root ()],
413
+ paths = ["test_tagged_unittests.py" ])
409
414
410
415
# Unittests on SVM
411
416
with Task ('GraalPython tests on SVM' , tasks , tags = [GraalPythonTags .svmunit ]) as task :
You can’t perform that action at this time.
0 commit comments