##// END OF EJS Templates
Allow tests that end in .py and .bat...
Alexis S. L. Carvalho -
r2702:133811a7 default
parent child Browse files
Show More
@@ -334,7 +334,9 b' try:'
334 if len(args) == 0:
334 if len(args) == 0:
335 args = os.listdir(".")
335 args = os.listdir(".")
336 for test in args:
336 for test in args:
337 if test.startswith("test-") and not '~' in test and not '.' in test:
337 if (test.startswith("test-") and '~' not in test and
338 ('.' not in test or test.endswith('.py') or
339 test.endswith('.bat'))):
338 if not run_one(test):
340 if not run_one(test):
339 failed += 1
341 failed += 1
340 tests += 1
342 tests += 1
General Comments 0
You need to be logged in to leave comments. Login now