forked from premiere/premiere-libtorrent
38 lines
856 B
Plaintext
38 lines
856 B
Plaintext
import testing ;
|
|
import feature : feature ;
|
|
|
|
use-project /torrent : .. ;
|
|
use-project /libtorrent_test : ../test ;
|
|
|
|
use-project /libsimulator : libsimulator ;
|
|
|
|
# TODO: create another library with the libtorrent simulator utilities
|
|
project
|
|
: requirements
|
|
<simulator>on
|
|
<library>/torrent//torrent/<export-extra>on
|
|
<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
|
|
;
|
|
|
|
alias libtorrent-sims :
|
|
[ run test_torrent_status.cpp ]
|
|
[ run test_swarm.cpp ]
|
|
[ run test_super_seeding.cpp ]
|
|
[ run test_utp.cpp ]
|
|
[ run test_dht.cpp ]
|
|
[ run test_dht_storage.cpp ]
|
|
[ run test_pe_crypto.cpp ]
|
|
[ run test_metadata_extension.cpp ]
|
|
[ run test_trackers_extension.cpp ]
|
|
[ run test_tracker.cpp ]
|
|
;
|
|
|