| Index: test/mjsunit/testcfg.py
|
| diff --git a/test/mjsunit/testcfg.py b/test/mjsunit/testcfg.py
|
| index cf4b6276e4ec159e66d40032819c0b51fd475915..8389696f49fabf7089035ef1c9b4c5304963be79 100644
|
| --- a/test/mjsunit/testcfg.py
|
| +++ b/test/mjsunit/testcfg.py
|
| @@ -35,7 +35,6 @@ FLAGS_PATTERN = re.compile(r"//\s+Flags:(.*)")
|
| FILES_PATTERN = re.compile(r"//\s+Files:(.*)")
|
| SELF_SCRIPT_PATTERN = re.compile(r"//\s+Env: TEST_FILE_NAME")
|
| MODULE_PATTERN = re.compile(r"^// MODULE$", flags=re.MULTILINE)
|
| -NO_HARNESS_PATTERN = re.compile(r"^// NO HARNESS$", flags=re.MULTILINE)
|
|
|
|
|
| class MjsunitTestSuite(testsuite.TestSuite):
|
| @@ -80,7 +79,7 @@ class MjsunitTestSuite(testsuite.TestSuite):
|
| env = ["-e", "TEST_FILE_NAME=\"%s\"" % testfilename.replace("\\", "\\\\")]
|
| files = env + files
|
|
|
| - if not context.no_harness and not NO_HARNESS_PATTERN.search(source):
|
| + if not context.no_harness:
|
| files.append(os.path.join(self.root, "mjsunit.js"))
|
|
|
| if MODULE_PATTERN.search(source):
|
|
|