Mercurial > hg > mercurial-crew-with-dirclash
diff tests/run-tests.py @ 2408:6ed46bad9530
Don't run tests with dots in their name (e.g. test-foo.orig)
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Thu, 08 Jun 2006 14:56:40 +0200 |
parents | 7e43d68f3900 |
children | 4068d6a7a99e |
line wrap: on
line diff
--- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -251,9 +251,7 @@ try: if len(args) == 0: args = os.listdir(".") for test in args: - if test.startswith("test-"): - if '~' in test or re.search(r'\.(out|err)$', test): - continue + if test.startswith("test-") and not '~' in test and not '.' in test: if not run_one(test): failed += 1 tests += 1