From: Stefan Behnel Date: Sun, 25 Jan 2009 18:03:37 +0000 (+0100) Subject: fix test runner X-Git-Tag: 0.11.rc~105 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=02ae18e8ac56a00c314e4273c60f21e93f23847a;p=cython.git fix test runner --- 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'):