Follow-up fix for bug 778921. We want tests to pass even when we have an even number of them. rs=luke via IRC.

This commit is contained in:
Jason Orendorff 2012-07-31 13:51:34 -05:00
parent 916cc0c874
commit 4a28aa0ef9

View File

@ -82,8 +82,8 @@ class Test(object):
dirname, filename = os.path.split(self.path)
cmd = js_cmd_prefix
if self.allowXml:
cmd += [ '-e', 'options("allow_xml")' ]
cmd += Test.prefix_command(dirname)
cmd = cmd + [ '-e', 'options("allow_xml")' ]
cmd = cmd + Test.prefix_command(dirname)
if self.debugMode:
cmd += [ '-d' ]
# There is a test that requires the path to start with './'.