Commit efcc8b05 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Rename log in case of exected failure

parent d344cebc
......@@ -49,7 +49,7 @@ def main():
if errcode != 0:
# Failure: save the log immediately
with openLog(name) as f:
with openLog(name if not name in xfails else name + "_EXPECTED_FAILURE") as f:
f.write("=" * 80)
f.write("ERROR: %s %s" % (name, rule))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment