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
Родитель fc4841ff57
Коммит 6431c1c754
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

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