tests/run-tests.py
changeset 2408 6ed46bad9530
parent 2258 7e43d68f3900
child 2409 4068d6a7a99e
equal deleted inserted replaced
2407:8fe3d60b7f19 2408:6ed46bad9530
   249         failed = 0
   249         failed = 0
   250 
   250 
   251         if len(args) == 0:
   251         if len(args) == 0:
   252             args = os.listdir(".")
   252             args = os.listdir(".")
   253         for test in args:
   253         for test in args:
   254             if test.startswith("test-"):
   254             if test.startswith("test-") and not '~' in test and not '.' in test:
   255                 if '~' in test or re.search(r'\.(out|err)$', test):
       
   256                     continue
       
   257                 if not run_one(test):
   255                 if not run_one(test):
   258                     failed += 1
   256                     failed += 1
   259                 tests += 1
   257                 tests += 1
   260 
   258 
   261         print "\n# Ran %d tests, %d failed." % (tests, failed)
   259         print "\n# Ran %d tests, %d failed." % (tests, failed)