equal
deleted
inserted
replaced
332 failed = 0 |
332 failed = 0 |
333 |
333 |
334 if len(args) == 0: |
334 if len(args) == 0: |
335 args = os.listdir(".") |
335 args = os.listdir(".") |
336 for test in args: |
336 for test in args: |
337 if test.startswith("test-") and not '~' in test and not '.' in test: |
337 if (test.startswith("test-") and '~' not in test and |
|
338 ('.' not in test or test.endswith('.py') or |
|
339 test.endswith('.bat'))): |
338 if not run_one(test): |
340 if not run_one(test): |
339 failed += 1 |
341 failed += 1 |
340 tests += 1 |
342 tests += 1 |
341 |
343 |
342 print "\n# Ran %d tests, %d failed." % (tests, failed) |
344 print "\n# Ran %d tests, %d failed." % (tests, failed) |