equal
deleted
inserted
replaced
249 failed = 0 |
249 failed = 0 |
250 |
250 |
251 if len(args) == 0: |
251 if len(args) == 0: |
252 args = os.listdir(".") |
252 args = os.listdir(".") |
253 for test in args: |
253 for test in args: |
254 if test.startswith("test-"): |
254 if test.startswith("test-") and not '~' in test and not '.' in test: |
255 if '~' in test or re.search(r'\.(out|err)$', test): |
|
256 continue |
|
257 if not run_one(test): |
255 if not run_one(test): |
258 failed += 1 |
256 failed += 1 |
259 tests += 1 |
257 tests += 1 |
260 |
258 |
261 print "\n# Ran %d tests, %d failed." % (tests, failed) |
259 print "\n# Ran %d tests, %d failed." % (tests, failed) |