Change test/Jamfile to work after bcp --namespace

This commit is contained in:
Peter Dimov
2019-05-26 18:56:13 +03:00
parent d95d316848
commit 2e246f5213

View File

@@ -2,20 +2,20 @@ import testing ;
project
: requirements
<library>../build//boost_program_options
<library>/boost//program_options
<link>static
<variant>debug
# <define>_GLIBCXX_CONCEPT_CHECKS
# <define>_GLIBCXX_DEBUG
;
rule po-test ( source : input-file ? )
{
return
[ run $(source) : : $(input-file) ]
[ run $(source) : : $(input-file)
: <link>shared <define>BOOST_PROGRAM_OPTIONS_DYN_LINK=1
: <link>shared
: $(source:B)_dll ]
;
}
@@ -37,7 +37,7 @@ test-suite program_options :
[ po-test optional_test.cpp ]
[ run options_description_test.cpp : : : <rtti>off <define>BOOST_NO_RTTI <define>BOOST_NO_TYPEID : options_description_no_rtti_test ]
;
exe test_convert : test_convert.cpp ;
# `quick` target (for CI)