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

fix test runner

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