File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4949from Queue import Queue , Empty
5050
5151logger = logging .getLogger ('testrunner' )
52- is_skipped = re .compile (r" # SKIP\S+ (.+)" , re .IGNORECASE )
52+ skip_regex = re .compile (r' # SKIP\S*\s+(.*)' , re .IGNORECASE )
5353
5454VERBOSE = False
5555
@@ -257,7 +257,7 @@ def HasRun(self, output):
257257 for l in output .output .stdout .splitlines ():
258258 logger .info ('#' + l )
259259 elif output .HasSkipped ():
260- skip = is_skipped .findall (output .output .stdout )
260+ skip = skip_regex .findall (output .output .stdout )
261261 logger .info ('ok %i - %s # skip %s' % (self ._done , command , skip [0 ]))
262262 else :
263263 logger .info ('ok %i - %s' % (self ._done , command ))
@@ -476,7 +476,7 @@ def UnexpectedOutput(self):
476476 return not outcome in self .test .outcomes
477477
478478 def HasSkipped (self ):
479- skip = is_skipped .search (self .output .stdout )
479+ skip = skip_regex .search (self .output .stdout )
480480 return self .store_unexpected_output and skip
481481
482482 def HasPreciousOutput (self ):
You can’t perform that action at this time.
0 commit comments