build enum_if with the same configuration as the other tests (to avoid building libtorrent twice)
This commit is contained in:
parent
df3068ab19
commit
d7a60442bd
65
test/Jamfile
65
test/Jamfile
|
@ -3,37 +3,6 @@ import feature : feature ;
|
||||||
|
|
||||||
use-project /torrent : .. ;
|
use-project /torrent : .. ;
|
||||||
|
|
||||||
exe test_natpmp : test_natpmp.cpp
|
|
||||||
: # requirements
|
|
||||||
<library>/torrent//torrent
|
|
||||||
<export-extra>on
|
|
||||||
<conditional>@warnings
|
|
||||||
: # default-build
|
|
||||||
<threading>multi
|
|
||||||
<asserts>on
|
|
||||||
<invariant-checks>full
|
|
||||||
<link>shared
|
|
||||||
<picker-debugging>on
|
|
||||||
<logging>on
|
|
||||||
;
|
|
||||||
|
|
||||||
exe enum_if : enum_if.cpp
|
|
||||||
: # requirements
|
|
||||||
<library>/torrent//torrent
|
|
||||||
<export-extra>on
|
|
||||||
<conditional>@warnings
|
|
||||||
: # default-build
|
|
||||||
<threading>multi
|
|
||||||
<asserts>on
|
|
||||||
<invariant-checks>full
|
|
||||||
<link>shared
|
|
||||||
<picker-debugging>on
|
|
||||||
<logging>on
|
|
||||||
;
|
|
||||||
|
|
||||||
explicit test_natpmp ;
|
|
||||||
explicit enum_if ;
|
|
||||||
|
|
||||||
lib libtorrent_test
|
lib libtorrent_test
|
||||||
: # sources
|
: # sources
|
||||||
main.cpp
|
main.cpp
|
||||||
|
@ -98,6 +67,40 @@ project
|
||||||
feature launcher : none valgrind : composite ;
|
feature launcher : none valgrind : composite ;
|
||||||
feature.compose <launcher>valgrind : <testing.launcher>"valgrind --tool=memcheck -v --num-callers=20 --read-var-info=yes --track-origins=yes --error-exitcode=222 --suppressions=valgrind_suppressions.txt" <use-valgrind>on ;
|
feature.compose <launcher>valgrind : <testing.launcher>"valgrind --tool=memcheck -v --num-callers=20 --read-var-info=yes --track-origins=yes --error-exitcode=222 --suppressions=valgrind_suppressions.txt" <use-valgrind>on ;
|
||||||
|
|
||||||
|
exe test_natpmp : test_natpmp.cpp
|
||||||
|
: # requirements
|
||||||
|
<library>/torrent//torrent
|
||||||
|
<export-extra>on
|
||||||
|
<conditional>@warnings
|
||||||
|
: # default-build
|
||||||
|
<threading>multi
|
||||||
|
<asserts>on
|
||||||
|
<invariant-checks>full
|
||||||
|
<link>shared
|
||||||
|
<picker-debugging>on
|
||||||
|
<logging>on
|
||||||
|
;
|
||||||
|
|
||||||
|
exe enum_if : enum_if.cpp
|
||||||
|
: # requirements
|
||||||
|
<library>/torrent//torrent
|
||||||
|
<export-extra>on
|
||||||
|
<conditional>@warnings
|
||||||
|
: # default-build
|
||||||
|
<threading>multi
|
||||||
|
<asserts>on
|
||||||
|
<invariant-checks>full
|
||||||
|
<link>shared
|
||||||
|
<picker-debugging>on
|
||||||
|
<logging>on
|
||||||
|
;
|
||||||
|
|
||||||
|
install stage_enum_if : enum_if : <location>. ;
|
||||||
|
|
||||||
|
explicit test_natpmp ;
|
||||||
|
explicit enum_if ;
|
||||||
|
explicit stage_enum_if ;
|
||||||
|
|
||||||
test-suite libtorrent :
|
test-suite libtorrent :
|
||||||
[ run
|
[ run
|
||||||
test_primitives.cpp
|
test_primitives.cpp
|
||||||
|
|
Loading…
Reference in New Issue