Browse Source

Test runner should only run test-*.js

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
6cb0e0e5f5
  1. 2
      test/mjsunit/testcfg.py

2
test/mjsunit/testcfg.py

@ -75,7 +75,7 @@ class MjsunitTestConfiguration(test.TestConfiguration):
def Ls(self, path):
def SelectTest(name):
return name.endswith('.js') and name != 'mjsunit.js'
return name.startswith('test-') and name.endswith('.js')
return [f[:-3] for f in os.listdir(path) if SelectTest(f)]
def ListTests(self, current_path, path, mode):

Loading…
Cancel
Save