# HG changeset patch # User Thomas Arendsen Hein # Date 1149771400 -7200 # Node ID 6ed46bad9530865c93efa98c341a995ac5625699 # Parent 8fe3d60b7f19e7efa0b7496badf5a4d5830c04e2 Don't run tests with dots in their name (e.g. test-foo.orig) diff -r 8fe3d60b7f19 -r 6ed46bad9530 tests/run-tests.py --- a/tests/run-tests.py Wed Jun 07 13:16:25 2006 -0700 +++ b/tests/run-tests.py Thu Jun 08 14:56:40 2006 +0200 @@ -251,9 +251,7 @@ 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