2011-04-09 23:50:33 +00:00
|
|
|
import testing ;
|
|
|
|
|
2005-08-11 11:06:52 +00:00
|
|
|
use-project /torrent : .. ;
|
|
|
|
|
2009-04-10 08:40:13 +00:00
|
|
|
exe test_natpmp : test_natpmp.cpp /torrent//torrent
|
2009-11-29 07:06:38 +00:00
|
|
|
: <threading>multi <debug-iterators>on <invariant-checks>full ;
|
2009-04-10 08:40:13 +00:00
|
|
|
|
2009-05-21 19:20:24 +00:00
|
|
|
explicit test_natpmp ;
|
|
|
|
|
2012-10-20 22:02:31 +00:00
|
|
|
rule libtorrent_dependency ( properties * )
|
|
|
|
{
|
|
|
|
local result ;
|
|
|
|
|
|
|
|
if <toolset>msvc in $(properties)
|
|
|
|
{
|
|
|
|
# for some reason, the visual studio debugger seems
|
|
|
|
# to get very confused with the dynamic linking.
|
|
|
|
# since debugging unit tests is common, just link
|
|
|
|
# statically with msvc
|
|
|
|
result += <library>/torrent//torrent/<link>static/<boost-link>static/<export-extra>on ;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
result += <library>/torrent//torrent/<link>shared/<boost-link>shared/<export-extra>on ;
|
|
|
|
}
|
|
|
|
|
|
|
|
return $(result) ;
|
|
|
|
}
|
|
|
|
|
2007-07-06 20:17:36 +00:00
|
|
|
project
|
|
|
|
: requirements
|
2012-10-20 22:02:31 +00:00
|
|
|
<conditional>@libtorrent_dependency
|
2009-04-10 08:40:13 +00:00
|
|
|
<source>main.cpp
|
2009-11-30 07:03:34 +00:00
|
|
|
<source>setup_transfer.cpp
|
2008-03-23 05:33:47 +00:00
|
|
|
: default-build
|
|
|
|
<threading>multi
|
2008-07-30 06:40:06 +00:00
|
|
|
<invariant-checks>full
|
2008-09-15 15:09:20 +00:00
|
|
|
<debug-iterators>on
|
2005-08-14 22:04:58 +00:00
|
|
|
;
|
2005-08-11 11:06:52 +00:00
|
|
|
|
2009-04-10 08:40:13 +00:00
|
|
|
test-suite libtorrent :
|
2013-06-08 23:37:11 +00:00
|
|
|
[ run test_file_storage.cpp ]
|
2012-12-31 06:54:54 +00:00
|
|
|
[ run test_peer_priority.cpp ]
|
2012-06-29 23:10:28 +00:00
|
|
|
[ run test_file.cpp ]
|
2010-08-26 17:00:24 +00:00
|
|
|
[ run test_threads.cpp ]
|
2012-02-20 07:51:36 +00:00
|
|
|
[ run test_rss.cpp ]
|
2009-04-26 00:32:19 +00:00
|
|
|
[ run test_bandwidth_limiter.cpp ]
|
2005-09-14 19:33:16 +00:00
|
|
|
[ run test_buffer.cpp ]
|
2005-08-12 12:40:58 +00:00
|
|
|
[ run test_piece_picker.cpp ]
|
2005-08-11 11:06:52 +00:00
|
|
|
[ run test_bencoding.cpp ]
|
2009-04-26 00:32:19 +00:00
|
|
|
[ run test_fast_extension.cpp ]
|
2007-05-22 20:44:18 +00:00
|
|
|
[ run test_primitives.cpp ]
|
2005-08-11 11:06:52 +00:00
|
|
|
[ run test_ip_filter.cpp ]
|
|
|
|
[ run test_hasher.cpp ]
|
2009-09-27 03:38:41 +00:00
|
|
|
[ run test_dht.cpp ]
|
2009-04-26 00:32:19 +00:00
|
|
|
[ run test_storage.cpp ]
|
2013-01-31 03:39:14 +00:00
|
|
|
[ run test_torrent_parse.cpp ]
|
2013-05-31 16:33:06 +00:00
|
|
|
[ run test_session.cpp ]
|
2009-06-29 08:09:32 +00:00
|
|
|
[ run test_upnp.cpp ]
|
2009-04-26 00:32:19 +00:00
|
|
|
|
2011-09-17 21:15:42 +00:00
|
|
|
[ run test_tracker.cpp ]
|
2013-01-06 04:53:26 +00:00
|
|
|
[ run test_checking.cpp ]
|
2009-04-26 00:32:19 +00:00
|
|
|
[ run test_web_seed.cpp ]
|
|
|
|
[ run test_bdecode_performance.cpp ]
|
|
|
|
[ run test_pe_crypto.cpp ]
|
|
|
|
|
2010-11-29 01:33:05 +00:00
|
|
|
[ run test_utp.cpp ]
|
2009-04-26 00:32:19 +00:00
|
|
|
[ run test_auto_unchoke.cpp ]
|
|
|
|
[ run test_http_connection.cpp ]
|
|
|
|
[ run test_torrent.cpp ]
|
|
|
|
[ run test_transfer.cpp ]
|
|
|
|
# [ run test_entry.cpp ]
|
2006-04-25 21:04:48 +00:00
|
|
|
[ run test_metadata_extension.cpp ]
|
2008-11-27 20:51:59 +00:00
|
|
|
[ run test_trackers_extension.cpp ]
|
2007-06-08 23:02:31 +00:00
|
|
|
[ run test_swarm.cpp ]
|
2007-10-01 02:09:12 +00:00
|
|
|
[ run test_lsd.cpp ]
|
2007-12-30 09:36:01 +00:00
|
|
|
[ run test_pex.cpp ]
|
2005-08-11 11:06:52 +00:00
|
|
|
;
|
|
|
|
|