From 8838289d2e154a8c7520bcd1b4f8fd087fea2847 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 1 Oct 2013 19:37:17 +0000 Subject: [PATCH] fix test link issue. highlight valgrind errors in test log parsing --- src/broadcast_socket.cpp | 2 +- tools/parse_test_results.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/broadcast_socket.cpp b/src/broadcast_socket.cpp index 96472bf7e..9244d3684 100644 --- a/src/broadcast_socket.cpp +++ b/src/broadcast_socket.cpp @@ -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 { diff --git a/tools/parse_test_results.py b/tools/parse_test_results.py index 378b9af37..e5f608f4b 100755 --- a/tools/parse_test_results.py +++ b/tools/parse_test_results.py @@ -52,7 +52,10 @@ def style_output(o): ret += '%s\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 += '%s\n' % l elif ': warning: ' in l or ') : warning C' in l: ret += '%s\n' % l