tests/run-tests.py
branchstable
changeset 1290 d56f50372ba5
parent 1289 0b972f189962
child 1292 aa3c5b7a290e
equal deleted inserted replaced
1289:0b972f189962 1290:d56f50372ba5
   919                 if k in t:
   919                 if k in t:
   920                     break
   920                     break
   921                 else:
   921                 else:
   922                     return ignore("doesn't match keyword")
   922                     return ignore("doesn't match keyword")
   923 
   923 
       
   924     if not lctest.startswith("test-"):
       
   925         return skip("not a test file")
   924     for ext, func, out in testtypes:
   926     for ext, func, out in testtypes:
   925         if lctest.startswith("test-") and lctest.endswith(ext):
   927         if lctest.endswith(ext):
   926             runner = func
   928             runner = func
   927             ref = os.path.join(TESTDIR, test + out)
   929             ref = os.path.join(TESTDIR, test + out)
   928             break
   930             break
   929     else:
   931     else:
   930         return skip("unknown test type")
   932         return skip("unknown test type")