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():
182182
183183
184184def 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 )
You can’t perform that action at this time.
0 commit comments