support valgrind as a launcher of unit tests
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import testing ;
|
||||
import feature : feature ;
|
||||
|
||||
use-project /torrent : .. ;
|
||||
|
||||
@@ -57,6 +58,9 @@ project
|
||||
<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 :
|
||||
[ run test_file_storage.cpp ]
|
||||
[ run test_peer_priority.cpp ]
|
||||
|
Reference in New Issue
Block a user