mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Test runner should only run test-*.js
This commit is contained in:
1 parent
6e6562e551
commit
6cb0e0e5f5
1 file changed
+1
-1
@@ -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