]>
Commit | Line | Data |
---|---|---|
b32b8144 | 1 | import testing ; |
7c673cae FG |
2 | |
3 | project | |
4 | : requirements | |
5 | <library>../build//boost_program_options | |
6 | <link>static | |
7 | <variant>debug | |
8 | ||
9 | # <define>_GLIBCXX_CONCEPT_CHECKS | |
10 | # <define>_GLIBCXX_DEBUG | |
11 | ; | |
12 | ||
13 | rule po-test ( source : input-file ? ) | |
14 | { | |
15 | return | |
16 | [ run $(source) : : $(input-file) ] | |
17 | [ run $(source) : : $(input-file) | |
18 | : <link>shared <define>BOOST_PROGRAM_OPTIONS_DYN_LINK=1 | |
19 | : $(source:B)_dll ] | |
20 | ; | |
21 | } | |
22 | ||
23 | test-suite program_options : | |
24 | ||
25 | [ po-test options_description_test.cpp ] | |
26 | [ po-test parsers_test.cpp : config_test.cfg ] | |
27 | [ po-test variable_map_test.cpp ] | |
28 | [ po-test cmdline_test.cpp ] | |
29 | [ po-test positional_options_test.cpp ] | |
30 | [ po-test unicode_test.cpp ] | |
31 | [ po-test winmain.cpp ] | |
32 | [ po-test exception_test.cpp ] | |
33 | [ po-test split_test.cpp ] | |
34 | [ po-test unrecognized_test.cpp ] | |
35 | [ po-test required_test.cpp : required_test.cfg ] | |
36 | [ po-test exception_txt_test.cpp ] | |
b32b8144 | 37 | [ po-test optional_test.cpp ] |
1e59de90 | 38 | [ run options_description_test.cpp : : : <rtti>off : options_description_no_rtti_test ] |
7c673cae FG |
39 | ; |
40 | ||
41 | exe test_convert : test_convert.cpp ; | |
42 | ||
11fdf7f2 TL |
43 | # `quick` target (for CI) |
44 | run quick.cpp : --path=initial ; |