зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1510366 - gdb-tests.py --write-failures FILE doesn't work (and it's not entirely clear how it ever did). r=sfink
This commit is contained in:
Родитель
3093d025b8
Коммит
f72433c342
|
@ -132,7 +132,7 @@ class Summary(object):
|
|||
|
||||
if OPTIONS.write_failures:
|
||||
try:
|
||||
with open(OPTIONS.write_failures) as out:
|
||||
with open(OPTIONS.write_failures, "w") as out:
|
||||
for test in self.failures:
|
||||
test.show(out)
|
||||
except IOError as err:
|
||||
|
|
Загрузка…
Ссылка в новой задаче