Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
kazoo
Commits
efcc8b05
Commit
efcc8b05
authored
Apr 19, 2021
by
Maxime Perrotin
Browse files
Rename log in case of exected failure
parent
d344cebc
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test.py
View file @
efcc8b05
...
...
@@ -49,7 +49,7 @@ def main():
sys
.
stdout
.
flush
()
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
))
try
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment