Skip to content

Commit 8e6bf76

Browse files
committed
fix junit tests again
1 parent 2310617 commit 8e6bf76

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -182,13 +182,11 @@ def _dev_pythonhome():
182182

183183

184184
def punittest(ars):
185-
if not ars:
186-
args = ['--regex', r'(graal\.python)|(com\.oracle\.truffle\.tck\.tests)']
187-
else:
188-
args = []
189-
args += ["-Dgraal.TruffleCompilationExceptionsAreFatal=false",
190-
"-Dgraal.TruffleCompilationExceptionsArePrinted=true",
191-
"-Dgraal.TrufflePerformanceWarningsAreFatal=false"]
185+
args = ["-Dgraal.TruffleCompilationExceptionsAreFatal=false",
186+
"-Dgraal.TruffleCompilationExceptionsArePrinted=true",
187+
"-Dgraal.TrufflePerformanceWarningsAreFatal=false"]
188+
if "--regex" not in ars:
189+
args += ['--regex', r'(graal\.python)|(com\.oracle\.truffle\.tck\.tests)']
192190
args += ars
193191
with _pythonhome_context():
194192
mx_unittest.unittest(args)

0 commit comments

Comments
 (0)