From 6cb0e0e5f584eab78a9be2065f021cefad976bcf Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 17 Nov 2009 15:04:20 +0100 Subject: [PATCH] Test runner should only run test-*.js --- test/mjsunit/testcfg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/mjsunit/testcfg.py b/test/mjsunit/testcfg.py index 662e1cdff7..5e74466acf 100644 --- a/test/mjsunit/testcfg.py +++ b/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):