fix test link issue. highlight valgrind errors in test log parsing

This commit is contained in:
Arvid Norberg 2013-10-01 19:37:17 +00:00
parent 422251ad3d
commit 8838289d2e
2 changed files with 5 additions and 2 deletions

View File

@ -127,7 +127,7 @@ namespace libtorrent
} TORRENT_CATCH(std::exception& e) { return false; }
}
TORRENT_EXPORT bool is_teredo(address const& addr)
bool is_teredo(address const& addr)
{
#if TORRENT_USE_IPV6
TORRENT_TRY {

View File

@ -52,7 +52,10 @@ def style_output(o):
ret += '<span class="test-pass">%s</span>\n' % l
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 or \
' : error LNK' in l or ': undefined reference to ' in l:
' : error LNK' in l or ': undefined reference to ' in l or \
'jump or move depends on uninitialised value(s)' in l or \
'Invalid read of size' in l or \
'Invalid write of size' in l:
ret += '<span class="compile-error">%s</span>\n' % l
elif ': warning: ' in l or ') : warning C' in l:
ret += '<span class="compile-warning">%s</span>\n' % l