twisterp2pnetworkbittorrentblockchainipv6microbloggingdhtdecentralizedsocial-networktwister-ipv6twister-coretwisterarmyp2p-networktwister-server
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
1.9 KiB
81 lines
1.9 KiB
11 years ago
|
import testing ;
|
||
|
|
||
|
use-project /torrent : .. ;
|
||
|
|
||
|
exe test_natpmp : test_natpmp.cpp /torrent//torrent
|
||
|
: <threading>multi <debug-iterators>on <invariant-checks>full ;
|
||
|
|
||
|
exe enum_if : enum_if.cpp /torrent//torrent
|
||
|
: <threading>multi <debug-iterators>on <invariant-checks>full ;
|
||
|
|
||
|
explicit test_natpmp ;
|
||
|
explicit enum_if ;
|
||
|
|
||
|
lib libtorrent_test
|
||
|
: # sources
|
||
|
setup_transfer.cpp
|
||
|
dht_server.cpp
|
||
|
peer_server.cpp
|
||
|
|
||
|
: # requirements
|
||
|
<library>/torrent//torrent/<link>shared/<boost-link>shared/<export-extra>on
|
||
|
# this is used to determine whether
|
||
|
# symbols are exported or imported
|
||
|
<link>shared:<define>TORRENT_BUILDING_TEST_SHARED
|
||
|
|
||
|
: # default build
|
||
|
<link>shared
|
||
|
;
|
||
|
|
||
|
project
|
||
|
: requirements
|
||
|
<source>main.cpp
|
||
|
<library>/torrent//torrent/<link>shared/<boost-link>shared/<export-extra>on
|
||
|
<library>libtorrent_test/<link>shared
|
||
|
: default-build
|
||
|
<threading>multi
|
||
|
<invariant-checks>full
|
||
|
<debug-iterators>on
|
||
|
;
|
||
|
|
||
|
test-suite libtorrent :
|
||
|
[ run test_file_storage.cpp ]
|
||
|
[ run test_peer_priority.cpp ]
|
||
|
[ run test_file.cpp ]
|
||
|
[ run test_privacy.cpp ]
|
||
|
[ run test_threads.cpp ]
|
||
|
[ run test_rss.cpp ]
|
||
|
[ run test_bandwidth_limiter.cpp ]
|
||
|
[ run test_buffer.cpp ]
|
||
|
[ run test_piece_picker.cpp ]
|
||
|
[ run test_bencoding.cpp ]
|
||
|
[ run test_fast_extension.cpp ]
|
||
|
[ run test_primitives.cpp ]
|
||
|
[ run test_ip_filter.cpp ]
|
||
|
[ run test_hasher.cpp ]
|
||
|
[ run test_dht.cpp ]
|
||
|
[ run test_storage.cpp ]
|
||
|
[ run test_torrent_parse.cpp ]
|
||
|
[ run test_session.cpp ]
|
||
|
[ run test_upnp.cpp ]
|
||
|
|
||
|
[ run test_tracker.cpp ]
|
||
|
[ run test_checking.cpp ]
|
||
|
[ run test_web_seed.cpp ]
|
||
|
[ run test_bdecode_performance.cpp ]
|
||
|
[ run test_pe_crypto.cpp ]
|
||
|
|
||
|
[ run test_utp.cpp ]
|
||
|
[ run test_auto_unchoke.cpp ]
|
||
|
[ run test_http_connection.cpp ]
|
||
|
[ run test_torrent.cpp ]
|
||
|
[ run test_transfer.cpp ]
|
||
|
# [ run test_entry.cpp ]
|
||
|
[ run test_metadata_extension.cpp ]
|
||
|
[ run test_trackers_extension.cpp ]
|
||
|
[ run test_swarm.cpp ]
|
||
|
[ run test_lsd.cpp ]
|
||
|
[ run test_pex.cpp ]
|
||
|
;
|
||
|
|