changeset 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 8fe3d60b7f19
children 4068d6a7a99e
files tests/run-tests.py
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
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