Commit 43c20d4c authored by yangguo's avatar yangguo Committed by Commit bot

[test] add --no-harness option to debugger tests.

Review-Url: https://codereview.chromium.org/2831083003
Cr-Commit-Position: refs/heads/master@{#44774}
parent 0199018c
......@@ -51,7 +51,8 @@ class DebuggerTestSuite(testsuite.TestSuite):
break
files = []
files.append(os.path.normpath(os.path.join(self.root, "..", "mjsunit", "mjsunit.js")))
if not context.no_harness and not NO_HARNESS_PATTERN.search(source):
files.append(os.path.normpath(os.path.join(self.root, "..", "mjsunit", "mjsunit.js")))
files.append(os.path.join(self.root, "test-api.js"))
files.extend([ os.path.normpath(os.path.join(self.root, '..', '..', f))
for f in files_list ])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment