tests/run-tests.py
changeset 2702 133811a7688b
parent 2611 1b4eb1f92433
child 2703 d32b31e88391
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -334,7 +334,9 @@ try:
         if len(args) == 0:
             args = os.listdir(".")
         for test in args:
-            if test.startswith("test-") and not '~' in test and not '.' in test:
+            if (test.startswith("test-") and '~' not in test and
+                ('.' not in test or test.endswith('.py') or 
+                 test.endswith('.bat'))):
                 if not run_one(test):
                     failed += 1
                 tests += 1