dll-export hasher when building unit tests. improve linker output parsing in test script
This commit is contained in:
parent
0263d730b6
commit
61d1d7ea0e
|
@ -74,7 +74,7 @@ namespace libtorrent
|
||||||
|
|
||||||
namespace libtorrent
|
namespace libtorrent
|
||||||
{
|
{
|
||||||
class hasher
|
class TORRENT_EXTRA_EXPORT hasher
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@ def style_output(o):
|
||||||
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 or \
|
'failed to write output file' in l or ') : error C' in l or \
|
||||||
') : error LNK' in l:
|
') : error LNK' in l or ': undefined reference to ' 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
|
||||||
|
|
Loading…
Reference in New Issue