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:
Jeff Walden 2018-11-20 09:45:21 -08:00
Родитель 3093d025b8
Коммит f72433c342
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -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: