parse msvc link errors

This commit is contained in:
Arvid Norberg 2013-06-17 15:49:45 +00:00
parent 4dec6465f7
commit b2a76ba596
1 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,8 @@ def style_output(o):
elif '**passed**' in l: elif '**passed**' in l:
ret += '<span class="test-pass">%s</span>\n' % l ret += '<span class="test-pass">%s</span>\n' % l
elif ': error: ' in l or ': fatal error: ' in l or ' : fatal error ' in l or \ elif ': error: ' in l or ': fatal error: ' in l or ' : fatal error ' in l or \
'failed to write output file' in l or ') : error C' in l: 'failed to write output file' in l or ') : error C' in l or \
') : error LNK' in l:
ret += '<span class="compile-error">%s</span>\n' % l ret += '<span class="compile-error">%s</span>\n' % l
elif ': warning: ' in l or ') : warning C' in l: elif ': warning: ' in l or ') : warning C' in l:
ret += '<span class="compile-warning">%s</span>\n' % l ret += '<span class="compile-warning">%s</span>\n' % l