forked from premiere/premiere-libtorrent
support valgrind as a launcher of unit tests
This commit is contained in:
parent
12fd5be372
commit
149c464d2e
|
@ -1,4 +1,5 @@
|
||||||
import testing ;
|
import testing ;
|
||||||
|
import feature : feature ;
|
||||||
|
|
||||||
use-project /torrent : .. ;
|
use-project /torrent : .. ;
|
||||||
|
|
||||||
|
@ -57,6 +58,9 @@ project
|
||||||
<debug-iterators>on
|
<debug-iterators>on
|
||||||
;
|
;
|
||||||
|
|
||||||
|
feature launcher : none valgrind : composite ;
|
||||||
|
feature.compose <launcher>valgrind : <testing.launcher>"valgrind --tool=memcheck -v --track-origins=yes --error-exitcode=1" ;
|
||||||
|
|
||||||
test-suite libtorrent :
|
test-suite libtorrent :
|
||||||
[ run test_file_storage.cpp ]
|
[ run test_file_storage.cpp ]
|
||||||
[ run test_peer_priority.cpp ]
|
[ run test_peer_priority.cpp ]
|
||||||
|
|
Loading…
Reference in New Issue