File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -182,13 +182,11 @@ def _dev_pythonhome():
182
182
183
183
184
184
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)' ]
192
190
args += ars
193
191
with _pythonhome_context ():
194
192
mx_unittest .unittest (args )
You can’t perform that action at this time.
0 commit comments