Commit 02ae18e8 authored by Stefan Behnel's avatar Stefan Behnel

fix test runner

parent 85d2aa91
...@@ -560,9 +560,10 @@ if __name__ == '__main__': ...@@ -560,9 +560,10 @@ if __name__ == '__main__':
sys.stderr.write("\n") sys.stderr.write("\n")
test_bugs = False test_bugs = False
for ticket_number in options.tickets: if options.tickets:
test_bugs = True for ticket_number in options.tickets:
cmd_args.append('bugs.*T%s$' % ticket_number) test_bugs = True
cmd_args.append('bugs.*T%s$' % ticket_number)
if not test_bugs: if not test_bugs:
for selector in cmd_args: for selector in cmd_args:
if selector.startswith('bugs'): if selector.startswith('bugs'):
......
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