Skip to content

Commit

Permalink
Fix sanitizers CI test summary report (#4815) (#4840)
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
(cherry picked from commit 7316d35)

Co-authored-by: Mario Domínguez López <116071334+Mario-DL@users.noreply.github.com>
  • Loading branch information
mergify[bot] and Mario-DL authored May 25, 2024
1 parent 005f5ae commit 0ceb62c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/utils/log_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def failure_test_list(

# failed tests
saved_lines = []
with open(log_file_path, 'r') as file:
with open(log_file_path, 'r', encoding='utf-8', errors='replace') as file:
for line in reversed(file.readlines()):
saved_lines.append(line)
if (re.search('.*The following tests FAILED:.*', line)):
Expand Down

0 comments on commit 0ceb62c

Please sign in to comment.