premiere-libtorrent/test/Jamfile

110 lines
2.5 KiB
Plaintext
Raw Normal View History

2011-04-10 01:50:33 +02:00
import testing ;
import feature : feature ;
2011-04-10 01:50:33 +02:00
2005-08-11 13:06:52 +02:00
use-project /torrent : .. ;
2009-04-10 10:40:13 +02:00
exe test_natpmp : test_natpmp.cpp /torrent//torrent
: <threading>multi <debug-iterators>on <invariant-checks>full ;
2009-04-10 10:40:13 +02:00
exe enum_if : enum_if.cpp /torrent//torrent
: <threading>multi <debug-iterators>on <invariant-checks>full ;
explicit test_natpmp ;
explicit enum_if ;
2013-08-22 10:12:35 +02:00
ED25519_SOURCES =
add_scalar
fe
ge
key_exchange
keypair
sc
seed
sha512
sign
verify
;
2013-06-21 03:06:40 +02:00
lib libtorrent_test
: # sources
setup_transfer.cpp
dht_server.cpp
peer_server.cpp
2013-08-22 10:12:35 +02:00
../ed25519/src/$(ED25519_SOURCES).c
2013-06-21 03:06:40 +02:00
: # requirements
2013-06-23 10:14:18 +02:00
<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
2013-08-22 10:12:35 +02:00
<link>shared:<define>ED25519_BUILD_DLL
<include>../ed25519/src
<target-os>windows:<library>advapi32
: # default build
<link>shared
2013-06-21 03:06:40 +02:00
;
lib advapi32 : : <name>Advapi32 ;
project
: requirements
2009-04-10 10:40:13 +02:00
<source>main.cpp
2013-06-23 10:14:18 +02:00
<library>/torrent//torrent/<link>shared/<boost-link>shared/<export-extra>on
2013-06-21 03:06:40 +02:00
<library>libtorrent_test/<link>shared
2008-03-23 06:33:47 +01:00
: default-build
<threading>multi
<invariant-checks>full
2008-09-15 17:09:20 +02:00
<debug-iterators>on
;
2005-08-11 13:06:52 +02:00
feature launcher : none valgrind : composite ;
feature.compose <launcher>valgrind : <testing.launcher>"valgrind --tool=memcheck -v --track-origins=yes --error-exitcode=1" ;
2009-04-10 10:40:13 +02:00
test-suite libtorrent :
2013-06-09 01:37:11 +02:00
[ run test_file_storage.cpp ]
[ run test_peer_priority.cpp ]
[ run test_file.cpp ]
2013-06-12 09:57:13 +02:00
[ run test_privacy.cpp ]
[ run test_threads.cpp ]
[ run test_rss.cpp ]
[ run test_bandwidth_limiter.cpp ]
[ run test_buffer.cpp ]
2005-08-12 14:40:58 +02:00
[ run test_piece_picker.cpp ]
2005-08-11 13:06:52 +02:00
[ run test_bencoding.cpp ]
[ run test_fast_extension.cpp ]
[ run test_primitives.cpp ]
[ run test_http_parser.cpp ]
2013-09-01 08:52:50 +02:00
[ run test_packet_buffer.cpp ]
[ run test_string.cpp ]
2013-09-01 08:52:50 +02:00
[ run test_magnet.cpp ]
[ run test_xml.cpp ]
2005-08-11 13:06:52 +02:00
[ run test_ip_filter.cpp ]
[ run test_hasher.cpp ]
[ run test_dht.cpp ]
[ run test_storage.cpp ]
2013-01-31 04:39:14 +01:00
[ run test_torrent_parse.cpp ]
2013-05-31 18:33:06 +02:00
[ run test_session.cpp ]
[ run test_upnp.cpp ]
2013-07-28 17:06:28 +02:00
[ run test_ssl.cpp ]
[ run test_tracker.cpp ]
2013-01-06 05:53:26 +01:00
[ run test_checking.cpp ]
[ run test_web_seed.cpp ]
[ run test_bdecode_performance.cpp ]
[ run test_pe_crypto.cpp ]
2010-11-29 02:33:05 +01:00
[ 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 ]
2008-11-27 21:51:59 +01:00
[ run test_trackers_extension.cpp ]
[ run test_swarm.cpp ]
2007-10-01 04:09:12 +02:00
[ run test_lsd.cpp ]
[ run test_pex.cpp ]
2005-08-11 13:06:52 +02:00
;