Skip to content

Commit 1ad8067

Browse files
committed
Disable unittest with CPython
1 parent 0d36b46 commit 1ad8067

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
import sys
3838

3939
HPY_IMPORT_ORPHAN_BRANCH_NAME = "hpy-import"
40+
UNITTEST_WITH_CPY = False
4041

4142
PY3 = sys.version_info[0] == 3 # compatibility between Python versions
4243
import tempfile
@@ -608,7 +609,7 @@ def graalpython_gate_runner(args, tasks):
608609
# Unittests on JVM
609610
with Task('GraalPython Python unittests', tasks, tags=[GraalPythonTags.unittest]) as task:
610611
if task:
611-
if platform.system() != 'Darwin' and not mx_gate.get_jacoco_agent_args():
612+
if UNITTEST_WITH_CPY and platform.system() != 'Darwin' and not mx_gate.get_jacoco_agent_args():
612613
# TODO: drop condition when python3 is available on darwin
613614
mx.log("Running tests with CPython")
614615
test_args = [_graalpytest_driver(), "-v", _graalpytest_root()]

0 commit comments

Comments
 (0)