support valgrind as a launcher of unit tests

This commit is contained in:
Arvid Norberg 2013-09-03 01:19:42 +00:00
parent 12fd5be372
commit 149c464d2e
1 changed files with 4 additions and 0 deletions

View File

@ -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 ]