66# See http://www.boost.org/libs/test for the library home page.
77
88
9- project
10- : requirements
11- ;
12-
13-
14- rule test-btl-lib ( test-rule : test-name : lib-name ? : pattern_file * : source_files * : extra-libs ? : extra-options ? )
9+ rule test-btl-lib ( test-rule : test-name : args * : lib-name ? : pattern_file * : source_files * : extra-libs ? : extra-options ? )
1510{
1611 source_files ?= $(test-name).cpp ;
1712 return [ $(test-rule) $(source_files) ../build//$(lib-name) $(extra-libs)
18- : --deprecated_timer_format
13+ : $(args)
1914 : $(pattern_file)
2015 : #<stlport-iostream>on
2116 # Activating -pedantic finds more gotchas
@@ -35,11 +30,11 @@ rule test-btl-lib ( test-rule : test-name : lib-name ? : pattern_file * : source
3530 ] ;
3631}
3732
38- rule test-btl-lib-c11 ( test-rule : test-name : lib-name ? : pattern_file * : source_files * : extra-libs ? : extra-options ? )
33+ rule test-btl-lib-c11 ( test-rule : test-name : args * : lib-name ? : pattern_file * : source_files * : extra-libs ? : extra-options ? )
3934{
4035 source_files ?= $(test-name).cpp ;
4136 return [ $(test-rule) $(source_files) ../build//$(lib-name) $(extra-libs)
42- : --deprecated_timer_format
37+ : $(args)
4338 : $(pattern_file)
4439 : #<stlport-iostream>on
4540 # Activating -pedantic finds more gotchas
@@ -63,12 +58,12 @@ rule test-btl-lib-c11 ( test-rule : test-name : lib-name ? : pattern_file * : so
6358 ] ;
6459}
6560
66- rule test-btl-lib-mt ( test-rule : test-name : lib-name ? : pattern_file * : source_files * : extra-libs ? )
61+ rule test-btl-lib-mt ( test-rule : test-name : args * : lib-name ? : pattern_file * : source_files * : extra-libs ? )
6762{
6863 source_files ?= $(test-name).cpp ;
6964
7065 return [ $(test-rule) $(source_files) ../build//$(lib-name) $(extra-libs)
71- : --deprecated_timer_format
66+ : $(args)
7267 : $(pattern_file)
7368 : #<stlport-iostream>on
7469 # Activating -pedantic finds more gotchas
@@ -93,49 +88,49 @@ rule test-btl-lib-mt ( test-rule : test-name : lib-name ? : pattern_file * : sou
9388
9489test-suite "basics_test"
9590 :
96- [ test-btl-lib run : class_properties_test : boost_unit_test_framework ]
97- [ test-btl-lib run : basic_cstring_test : boost_unit_test_framework/<link>static ]
91+ [ test-btl-lib run : class_properties_test : : boost_unit_test_framework ]
92+ [ test-btl-lib run : basic_cstring_test : : boost_unit_test_framework/<link>static ]
9893 ;
9994
10095test-suite "prg_exec_monitor_test"
101- : [ test-btl-lib run-fail : prg_exec_fail1 : included ]
102- [ test-btl-lib run-fail : prg_exec_fail2 : boost_prg_exec_monitor/<link>static ]
103- [ test-btl-lib run-fail : prg_exec_fail3 : boost_prg_exec_monitor/<link>static ]
104- [ test-btl-lib run-fail : prg_exec_fail4 : boost_prg_exec_monitor/<link>static ]
96+ : [ test-btl-lib run-fail : prg_exec_fail1 : : included ]
97+ [ test-btl-lib run-fail : prg_exec_fail2 : : boost_prg_exec_monitor/<link>static ]
98+ [ test-btl-lib run-fail : prg_exec_fail3 : : boost_prg_exec_monitor/<link>static ]
99+ [ test-btl-lib run-fail : prg_exec_fail4 : : boost_prg_exec_monitor/<link>static ]
105100 ;
106101
107102test-suite "unit_test_framework_test"
108103 :
109- [ test-btl-lib run : errors_handling_test : boost_unit_test_framework : test_files/errors_handling_test.pattern ]
110- [ test-btl-lib run : single_header_test : : : single_header_test.cpp : /boost/timer//boost_timer/<link>static ]
104+ [ test-btl-lib run : errors_handling_test : --deprecated_timer_format : boost_unit_test_framework : test_files/errors_handling_test.pattern ]
105+ [ test-btl-lib run : single_header_test : : : : single_header_test.cpp : /boost/timer//boost_timer/<link>static ]
111106 [ test-btl-lib run-fail : minimal_test ]
112107 [ test-btl-lib run : foreach_test ]
113- [ test-btl-lib run : output_test_stream_test : boost_unit_test_framework ]
114- [ test-btl-lib run : result_report_test : boost_unit_test_framework : test_files/result_report_test.pattern ]
115- [ test-btl-lib run : parameterized_test_test : boost_unit_test_framework ]
116- [ test-btl-lib run : test_fp_comparisons : boost_unit_test_framework ]
117- [ test-btl-lib run : test_tools_test : boost_unit_test_framework : test_files/test_tools_test.pattern ]
118- [ test-btl-lib run : test_case_template_test : boost_unit_test_framework ]
119- [ test-btl-lib run : custom_exception_test : boost_unit_test_framework/<link>static ]
120- [ test-btl-lib run : fixed_mapping_test : boost_unit_test_framework ]
121- [ test-btl-lib run : ifstream_line_iterator_test : boost_unit_test_framework : test_files/ifstream_line_iterator.tst1 test_files/ifstream_line_iterator.tst2 ]
122- [ test-btl-lib run : algorithms_test : boost_unit_test_framework/<link>static ]
123- [ test-btl-lib run : token_iterator_test : boost_unit_test_framework ]
124- [ test-btl-lib run : boost_check_equal_str : boost_unit_test_framework ]
125- [ test-btl-lib run : test_tree_management_test : boost_unit_test_framework ]
126- [ test-btl-lib run : run_by_name_label_test : boost_unit_test_framework/<link>static ]
127- [ test-btl-lib run : test_assertion_construction : boost_unit_test_framework/<link>static ]
128- [ test-btl-lib run : test_datasets : boost_unit_test_framework : : [ glob test_datasets_src/*.cpp ] : ]
129- # test-rule : test-name : lib-name ? : pattern_file * : source_files * : extra-libs ? : extra-options ?
130- [ test-btl-lib-c11 run : test_datasets_cxx11 : boost_unit_test_framework : : [ glob test_datasets_src/*.cpp ] : ]
131- # [ test-btl-lib run : config_file_iterator_test : boost_unit_test_framework/<link>static ]
132- # [ test-btl-lib run : config_file_test : boost_unit_test_framework/<link>static ]
133- [ test-btl-lib run : test_dont_print_log_value : boost_unit_test_framework ]
108+ [ test-btl-lib run : output_test_stream_test : : boost_unit_test_framework ]
109+ [ test-btl-lib run : result_report_test : : boost_unit_test_framework : test_files/result_report_test.pattern ]
110+ [ test-btl-lib run : parameterized_test_test : : boost_unit_test_framework ]
111+ [ test-btl-lib run : test_fp_comparisons : : boost_unit_test_framework ]
112+ [ test-btl-lib run : test_tools_test : : boost_unit_test_framework : test_files/test_tools_test.pattern ]
113+ [ test-btl-lib run : test_case_template_test : : boost_unit_test_framework ]
114+ [ test-btl-lib run : custom_exception_test : : boost_unit_test_framework/<link>static ]
115+ [ test-btl-lib run : fixed_mapping_test : : boost_unit_test_framework ]
116+ [ test-btl-lib run : ifstream_line_iterator_test : : boost_unit_test_framework : test_files/ifstream_line_iterator.tst1 test_files/ifstream_line_iterator.tst2 ]
117+ [ test-btl-lib run : algorithms_test : : boost_unit_test_framework/<link>static ]
118+ [ test-btl-lib run : token_iterator_test : : boost_unit_test_framework ]
119+ [ test-btl-lib run : boost_check_equal_str : : boost_unit_test_framework ]
120+ [ test-btl-lib run : test_tree_management_test : : boost_unit_test_framework ]
121+ [ test-btl-lib run : run_by_name_label_test : : boost_unit_test_framework/<link>static ]
122+ [ test-btl-lib run : test_assertion_construction : : boost_unit_test_framework/<link>static ]
123+ [ test-btl-lib run : test_datasets : : boost_unit_test_framework : : [ glob test_datasets_src/*.cpp ] : ]
124+ # test-rule : test-name : args * : lib-name ? : pattern_file * : source_files * : extra-libs ? : extra-options ?
125+ [ test-btl-lib-c11 run : test_datasets_cxx11 : : boost_unit_test_framework : : [ glob test_datasets_src/*.cpp ] : ]
126+ # [ test-btl-lib run : config_file_iterator_test : : boost_unit_test_framework/<link>static ]
127+ # [ test-btl-lib run : config_file_test : : boost_unit_test_framework/<link>static ]
128+ [ test-btl-lib run : test_dont_print_log_value : : boost_unit_test_framework ]
134129 ;
135130
136131test-suite "multithreaded_test"
137132 :
138- [ test-btl-lib-mt run : sync_access_test : boost_unit_test_framework/<link>static : : : /boost/thread//boost_thread/<link>static ]
133+ [ test-btl-lib-mt run : sync_access_test : : boost_unit_test_framework/<link>static : : : /boost/thread//boost_thread/<link>static ]
139134 ;
140135
141136# A target that runs all the tests
0 commit comments