use-project /torrent : .. ;

exe test_upnp : test_upnp.cpp /torrent//torrent
	: <link>static <threading>multi <logging>verbose <upnp-logging>on ;

exe test_natpmp : test_natpmp.cpp /torrent//torrent
	: <link>static <threading>multi <logging>verbose <upnp-logging>on ;

lib test_common
	:
	main.cpp
	setup_transfer.cpp
	:
	<link>static
	<threading>multi
	:
	<link>static
	<threading>multi
	<library>/torrent//torrent
	;

project
   : requirements
	<library>test_common
   : default-build
	<threading>multi
	<invariant-checks>full
   ;


test-suite libtorrent : 
	[ run test_auto_unchoke.cpp ]
	[ run test_http_connection.cpp ]
	[ run test_buffer.cpp ]
	[ run test_storage.cpp ]
	[ run test_torrent.cpp ]
	[ run test_piece_picker.cpp ]
#	[ run test_entry.cpp ]
	[ run test_fast_extension.cpp ]
	[ run test_pe_crypto.cpp ]
	[ run test_bencoding.cpp ]
	[ run test_bdecode_performance.cpp ]
	[ run test_primitives.cpp ]
	[ run test_ip_filter.cpp ]
	[ run test_hasher.cpp ]
	[ run test_metadata_extension.cpp ]
	[ run test_swarm.cpp ]
	[ run test_lsd.cpp ]
	[ run test_pex.cpp ]
	[ run test_web_seed.cpp ]
	[ run test_bandwidth_limiter.cpp ]
	; 

