Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Точукву Нваджагу
assignment-image-rotation
Commits
9ee9ac76
Commit
9ee9ac76
authored
2 years ago
by
Igor Zhirkov
Browse files
Options
Download
Email Patches
Plain Diff
Fix a bug making tester script omit the error log when tests with sanitizers failed
parent
a3021ad0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tester/tester.sh
tester/tester.sh
+2
-2
No files found.
tester/tester.sh
View file @
9ee9ac76
...
...
@@ -62,8 +62,8 @@ if [ "$rc" -ne "0" ]; then
echo
echo
"Failed at creating output. Command:
$main_cmd
"
if
[
!
-z
"
$log_dir
"
]
;
then
[
!
-e
"
$log_out
"
]
&&
echo
"*** stdout log:
$log_out
***"
&&
cat
$log_out
[
!
-e
"
$log_err
"
]
&&
echo
"*** stderr log:
$log_err
***"
&&
cat
$log_err
[
-s
"
$log_out
"
]
&&
echo
"*** stdout log:
$log_out
***"
&&
cat
"
$log_out
"
[
-s
"
$log_err
"
]
&&
echo
"*** stderr log:
$log_err
***"
&&
cat
"
$log_err
"
fi
echo
echo
"
$test_name
: Failed with exit code
$rc
"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
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