Skip to content

Commit

Permalink
Test runner should only run test-*.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Nov 17, 2009
1 parent 6e6562e commit 6cb0e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/mjsunit/testcfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def __init__(self, context, root):

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):
Expand Down

0 comments on commit 6cb0e0e

Please sign in to comment.