Remove newlines from preparser command line parameters to make Windows happy.

Review URL: http://codereview.chromium.org/6974009

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7992 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
lrn@chromium.org 2011-05-23 12:56:00 +00:00
parent 0e0b1b2da9
commit dc69639e4c

View File

@ -106,7 +106,8 @@ class PreparserTestConfiguration(test.TestConfiguration):
test = PreparserTestCase(self.root,
current_path + [filename, name],
executable,
mode, throws, self.context, source)
mode, throws, self.context,
source.replace("\n", " "))
result.append(test)
def Template(name, source):
def MkTest(replacement, expectation):