2015-08-08 03:28:51 +02:00
|
|
|
import testing ;
|
|
|
|
import feature : feature ;
|
|
|
|
|
|
|
|
use-project /torrent : .. ;
|
|
|
|
use-project /libtorrent_test : ../test ;
|
|
|
|
|
|
|
|
use-project /libsimulator : libsimulator ;
|
|
|
|
|
2015-08-10 12:57:51 +02:00
|
|
|
# TODO: create another library with the libtorrent simulator utilities
|
2015-08-08 03:28:51 +02:00
|
|
|
project
|
|
|
|
: requirements
|
|
|
|
<simulator>on
|
2015-08-09 05:04:49 +02:00
|
|
|
<library>/torrent//torrent/<export-extra>on
|
2015-08-08 03:28:51 +02:00
|
|
|
<library>/libtorrent_test//libtorrent_test
|
|
|
|
<source>swarm_suite.cpp
|
|
|
|
<source>setup_swarm.cpp
|
|
|
|
<source>setup_dht.cpp
|
|
|
|
: default-build
|
|
|
|
<threading>multi
|
|
|
|
<invariant-checks>full
|
|
|
|
<debug-iterators>on
|
|
|
|
<picker-debugging>on
|
|
|
|
;
|
|
|
|
|
2015-08-09 23:54:10 +02:00
|
|
|
alias libtorrent-sims :
|
2015-08-08 03:28:51 +02:00
|
|
|
[ run test_swarm.cpp ]
|
|
|
|
[ run test_utp.cpp ]
|
|
|
|
[ run test_dht.cpp ]
|
2015-08-10 12:57:51 +02:00
|
|
|
[ run test_pe_crypto.cpp ]
|
2015-08-08 03:28:51 +02:00
|
|
|
;
|
|
|
|
|