From 02ae18e8ac56a00c314e4273c60f21e93f23847a Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 25 Jan 2009 19:03:37 +0100 Subject: [PATCH] fix test runner --- runtests.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/runtests.py b/runtests.py index 4a5d168c..cad732fd 100644 --- a/runtests.py +++ b/runtests.py @@ -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'): -- 2.26.2