Index: test/preparser/testcfg.py |
diff --git a/test/preparser/testcfg.py b/test/preparser/testcfg.py |
index 566fd5ca442cbf9ebcbc5d9511a1768d6e9c9f4f..3e999f906cd2296f35be6571d04a09252e791113 100644 |
--- a/test/preparser/testcfg.py |
+++ b/test/preparser/testcfg.py |
@@ -39,7 +39,7 @@ class PreparserTestSuite(testsuite.TestSuite): |
super(PreparserTestSuite, self).__init__(name, root) |
def shell(self): |
- return "preparser" |
+ return "d8" |
def _GetExpectations(self): |
expects_file = os.path.join(self.root, "preparser.expectation") |
@@ -64,7 +64,7 @@ class PreparserTestSuite(testsuite.TestSuite): |
testname = os.path.join(filename, name) |
flags = ["-e", source] |
if expectation: |
- flags += ["throws", expectation] |
+ flags += ["--throws"] |
test = testcase.TestCase(self, testname, flags=flags) |
result.append(test) |
def Template(name, source): |
@@ -89,7 +89,7 @@ class PreparserTestSuite(testsuite.TestSuite): |
throws = expectations.get(f, None) |
flags = [f + ".js"] |
if throws: |
- flags += ["throws", throws] |
+ flags += ["--throws"] |
test = testcase.TestCase(self, f, flags=flags) |
result.append(test) |