Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/status/Jamfile @ 13

Last change on this file since 13 was 12, checked in by landauf, 17 years ago

added boost

File size: 9.0 KB
Line 
1# Boost regression-testing Jamfile
2#  (C) Copyright David Abrahams 2002. Permission to copy, use, modify, sell and
3#  distribute this software is granted provided this copyright notice appears in
4#  all copies. This software is provided "as is" without express or implied
5#  warranty, and with no claim as to its suitability for any purpose.
6
7subproject status ;
8
9# bring in the rules for testing
10import testing ;
11
12# Make tests run by default.
13DEPENDS all : test ;
14
15# Tests from Jamfiles in individual library test subdirectories
16# Please keep these in alphabetic order by test-suite name
17
18subinclude libs/any/test ;                 # test-suite any
19subinclude libs/algorithm/minmax/test ;    # test-suite algorithm/minmax
20subinclude libs/algorithm/string/test ;    # test-suite algorithm/string
21subinclude libs/assign/test ;              # test-suite assign
22subinclude libs/bind/test ;                # test-suite bind
23subinclude libs/conversion/test ;          # test-suite conversion
24subinclude libs/concept_check ;            # test-suite concept_check
25subinclude libs/date_time/test ;           # test-suite date_time
26subinclude libs/dynamic_bitset ;           # test suite dynamic_bitset
27subinclude libs/filesystem/test ;          # test-suite filesystem
28subinclude libs/format/test ;              # test-suite format
29subinclude libs/function/test ;            # test-suite function
30subinclude libs/functional/hash/test ;     # test-suite functional/hash
31subinclude libs/graph/test ;               # test-suite graph
32subinclude libs/io/test ;                  # test-suite io
33subinclude libs/iostreams/test ;           # test-suite iostreams
34subinclude libs/iterator/test ;            # test-suite iterator
35subinclude libs/logic/test ;               # test-suite logic
36subinclude libs/math/test ;                # test-suite math
37subinclude libs/mpl/test ;                 # test-suite mpl
38subinclude libs/multi_array/test ;         # test-suite multi_array
39subinclude libs/multi_index/test ;         # test-suite multi_index
40subinclude libs/numeric/conversion/test ;  # test-suite numeric/conversion
41subinclude libs/numeric/interval/test ;    # test-suite numeric/interval
42subinclude libs/numeric/ublas/test ;       # test-suite numeric/uBLAS
43subinclude libs/optional/test ;            # test-suite optional
44subinclude libs/parameter/test ;           # test-suite parameter
45subinclude libs/program_options/test ;     # test-suite program_options
46subinclude libs/property_map/test ;        # test-suite property_map
47subinclude libs/ptr_container/test ;       # test-suite ptr_container
48subinclude libs/python/test ;              # test-suite python
49subinclude libs/random/test ;              # test-suite random
50subinclude libs/range/test ;               # test-suite range
51subinclude libs/regex/test ;               # test-suite regex
52subinclude libs/regex/example ;            # test-suite regex-examples
53subinclude libs/serialization/test ;       # test-suite serialization
54subinclude libs/signals/test ;             # test-suite signals
55subinclude libs/smart_ptr/test ;           # test-suite smart_ptr
56subinclude libs/spirit/test ;              # test-suite spirit
57subinclude libs/static_assert ;            # test-suite static_assert
58subinclude libs/thread/test ;              # test-suite thread
59subinclude libs/type_traits/test ;         # test-suite type_traits
60subinclude libs/utility/enable_if/test ;   # test-suite utility/enable_if
61subinclude libs/utility/test ;             # test-suite utility
62subinclude libs/variant/test ;             # test-suite variant
63subinclude libs/wave/test/build ;          # test-suite wave
64 
65
66# Tests specified in this Jamfile
67{
68    # look in BOOST_ROOT for sources first, just in this Jamfile
69    local SEARCH_SOURCE = $(BOOST_ROOT) $(SEARCH_SOURCE) ;
70   
71    test-suite config
72        : [ run libs/config/test/config_test.cpp
73                : #args
74                : #input-files
75                : #requirements
76                <threading>multi <no-warn>config_test.cpp
77          ]
78           [ run libs/config/test/config_info.cpp : : : <test-info>always_show_run_output ]
79           [ run libs/config/test/abi/abi_test.cpp libs/config/test/abi/main.cpp ]
80           [ run libs/config/test/limits_test.cpp <lib>../libs/test/build/boost_test_exec_monitor ]
81           [ run libs/config/test/link/main.cpp <dll>../libs/config/test/link/link_test
82                : #args
83                : #input-files
84                : #requirements
85                <runtime-link>dynamic
86                <define>BOOST_DYN_LINK=1
87                <define>BOOST_CONFIG_NO_LIB=1
88                :
89                config_link_test
90          ]
91          [ compile-fail libs/config/test/threads/test_thread_fail1.cpp ]
92          [ compile-fail libs/config/test/threads/test_thread_fail2.cpp ]
93        ;
94
95    test-suite array
96        : [ run libs/array/array1.cpp ]
97          [ run libs/array/array2.cpp ]
98          [ run libs/array/array3.cpp ]
99          [ run libs/array/array4.cpp ]
100          [ run libs/array/array5.cpp ]
101        ;
102
103    run libs/crc/crc_test.cpp <lib>../libs/test/build/boost_test_exec_monitor ;
104
105
106    test-suite disjoint_sets
107        : [ run libs/disjoint_sets/disjoint_set_test.cpp <lib>../libs/test/build/boost_test_exec_monitor ]
108        ;
109
110    run libs/functional/function_test.cpp ;
111
112    test-suite integer
113        : [ run libs/integer/cstdint_test.cpp ]
114          [ run libs/integer/integer_test.cpp ]
115          [ run libs/integer/integer_traits_test.cpp <lib>../libs/test/build/boost_test_exec_monitor ]
116        ;
117
118    test-suite lambda
119        : [ run libs/lambda/test/algorithm_test.cpp <lib>../libs/test/build/boost_test_exec_monitor ]
120          [ run libs/lambda/test/bind_tests_simple.cpp <lib>../libs/test/build/boost_test_exec_monitor ]
121          [ run libs/lambda/test/bind_tests_advanced.cpp <lib>../libs/test/build/boost_test_exec_monitor ]
122          [ run libs/lambda/test/bind_tests_simple_f_refs.cpp <lib>../libs/test/build/boost_test_exec_monitor ]
123          [ run libs/lambda/test/bll_and_function.cpp <lib>../libs/test/build/boost_test_exec_monitor ]
124          [ run libs/lambda/test/cast_test.cpp <lib>../libs/test/build/boost_test_exec_monitor : : : : lambda_cast_test ]
125          [ run libs/lambda/test/constructor_tests.cpp <lib>../libs/test/build/boost_test_exec_monitor ]
126          [ run libs/lambda/test/control_structures.cpp <lib>../libs/test/build/boost_test_exec_monitor ]
127          [ run libs/lambda/test/exception_test.cpp <lib>../libs/test/build/boost_test_exec_monitor ]
128          [ run libs/lambda/test/extending_rt_traits.cpp <lib>../libs/test/build/boost_test_exec_monitor ]
129          [ run libs/lambda/test/is_instance_of_test.cpp <lib>../libs/test/build/boost_test_exec_monitor ]
130          [ run libs/lambda/test/member_pointer_test.cpp <lib>../libs/test/build/boost_test_exec_monitor ]
131          [ run libs/lambda/test/operator_tests_simple.cpp <lib>../libs/test/build/boost_test_exec_monitor ]
132          [ run libs/lambda/test/phoenix_control_structures.cpp <lib>../libs/test/build/boost_test_exec_monitor ]
133          [ run libs/lambda/test/switch_construct.cpp <lib>../libs/test/build/boost_test_exec_monitor ]
134        ;
135
136
137    run libs/pool/test/test_pool_alloc.cpp  <lib>../libs/test/build/boost_test_exec_monitor ;
138
139    test-suite preprocessor
140        : [ compile libs/preprocessor/test/arithmetic.cpp ]
141          [ compile libs/preprocessor/test/array.cpp ]
142          [ compile libs/preprocessor/test/comparison.cpp ]
143          [ compile libs/preprocessor/test/control.cpp ]
144          [ compile libs/preprocessor/test/debug.cpp ]
145          [ compile libs/preprocessor/test/facilities.cpp ]
146          [ compile libs/preprocessor/test/iteration.cpp ]
147          [ compile libs/preprocessor/test/list.cpp ]
148          [ compile libs/preprocessor/test/logical.cpp ]
149          [ compile libs/preprocessor/test/repetition.cpp ]
150          [ compile libs/preprocessor/test/selection.cpp ]
151          [ compile libs/preprocessor/test/seq.cpp ]
152          [ compile libs/preprocessor/test/slot.cpp ]
153          [ compile libs/preprocessor/test/tuple.cpp ]
154        ;
155
156    test-suite rational
157        : [ run libs/rational/rational_example.cpp ]
158          [ run libs/rational/rational_test.cpp ]
159        ;
160
161    subinclude libs/test/test ;
162#     subinclude libs/test/example ;
163#     subinclude libs/test/example/cla ;
164#     subinclude libs/test/example/cla/validation ;
165#     subinclude libs/test/example/env ;
166#     subinclude libs/test/example/env/validation ;
167   
168    compile libs/timer/timer_test.cpp ;
169
170    test-suite tokenizer
171        : [ run libs/tokenizer/examples.cpp <lib>../libs/test/build/boost_test_exec_monitor ]
172          [ run libs/tokenizer/simple_example_1.cpp ]
173          [ run libs/tokenizer/simple_example_2.cpp ]
174          [ run libs/tokenizer/simple_example_3.cpp ]
175          [ run libs/tokenizer/simple_example_4.cpp ]
176          [ run libs/tokenizer/simple_example_5.cpp ]
177        ;
178
179    test-suite tuple
180        : [ run libs/tuple/test/tuple_test_bench.cpp <lib>../libs/test/build/boost_test_exec_monitor ]
181          [ run libs/tuple/test/io_test.cpp <lib>../libs/test/build/boost_test_exec_monitor ]
182    ;
183}
184
Note: See TracBrowser for help on using the repository browser.