Commit f3c6f5b9 authored by Mathieu Giraud's avatar Mathieu Giraud

should-status.py: ignore TODO/SKIP lines

Thanks to @mikael-s.
parent 7e9f9ca0
Pipeline #16540 passed with stages
in 46 seconds
...@@ -18,7 +18,7 @@ failed.write('#!/bin/sh\n\n') ...@@ -18,7 +18,7 @@ failed.write('#!/bin/sh\n\n')
for tap in glob.glob('should-get-tests/*.tap'): for tap in glob.glob('should-get-tests/*.tap'):
ok = True ok = True
for l in open(tap): for l in open(tap):
if 'not ok' in l: if 'not ok' in l and not 'SKIP' in l and not 'TODO' in l:
ok = False ok = False
break break
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment