Skip to content

Commit 6ff12a6

Browse files
timfelcosminbasca
authored andcommitted
allow running graalpy unittests without assertions in other suites
1 parent 6ebe623 commit 6ff12a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,6 +1124,9 @@ def run_python_unittests(python_binary, args=None, paths=None, aot_compatible=Fa
11241124
env['PYTHONHASHSEED'] = '0'
11251125
delete_bad_env_keys(env)
11261126

1127+
if mx.primary_suite() != SUITE:
1128+
env.setdefault("GRAALPYTEST_ALLOW_NO_JAVA_ASSERTIONS", "true")
1129+
11271130
# list of excluded tests
11281131
if aot_compatible:
11291132
exclude += AOT_INCOMPATIBLE_TESTS

0 commit comments

Comments
 (0)