Skip to content

Commit 2c82db5

Browse files
committed
[travis] Fold segfault messages
1 parent e097904 commit 2c82db5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ci/travis/scripts/ctest2travis.py

+6
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ def start_test_fold():
8888
in_failure = False
8989
else:
9090
updated_line = colored(updated_line, 'yellow')
91+
elif re.search('\*\*\* Segmentation fault', updated_line):
92+
start_fold('segfault')
93+
updated_line = colored(updated_line, 'magenta')
94+
elif re.match(' Test failed: Segmentation fault', updated_line):
95+
end_fold()
96+
9197
else:
9298
if re.match('FAIL[:\!].*', updated_line):
9399
updated_line = colored(updated_line, 'yellow')

0 commit comments

Comments
 (0)