Skip to content

Commit

Permalink
[travis] Fold segfault messages
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Mar 8, 2017
1 parent e097904 commit 2c82db5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ci/travis/scripts/ctest2travis.py
Expand Up @@ -88,6 +88,12 @@ def start_test_fold():
in_failure = False
else:
updated_line = colored(updated_line, 'yellow')
elif re.search('\*\*\* Segmentation fault', updated_line):
start_fold('segfault')
updated_line = colored(updated_line, 'magenta')
elif re.match(' Test failed: Segmentation fault', updated_line):
end_fold()

else:
if re.match('FAIL[:\!].*', updated_line):
updated_line = colored(updated_line, 'yellow')
Expand Down

0 comments on commit 2c82db5

Please sign in to comment.