mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
Test runner should only run test-*.js
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user