Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/libs/test/test/Jamfile.v2 @ 12

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

added boost

File size: 3.7 KB
Line 
1#  (C) Copyright Gennadiy Rozental 2001-2005.
2#  Use, modification, and distribution are subject to the
3#  Boost Software License, Version 1.0. (See accompanying file
4#  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5#
6#  See http://www.boost.org/libs/test for the library home page.
7
8
9rule test-btl-lib ( test-rule : test-name : lib-name ? : pattern_file * : source_files * )
10{
11   source_files ?= $(test-name).cpp ;
12
13   return [ $(test-rule) $(source_files) ../build//$(lib-name)
14            : #args
15            : $(pattern_file)
16            : #<stlport-iostream>on
17              <toolset>borland:<cxxflags>-w-8080
18              <define>BOOST_TEST_NO_AUTO_LINK=1 # requirements
19            : $(test-name)
20          ] ;
21}
22
23test-suite "basics_test"
24        :
25          [ test-btl-lib run : class_properties_test    : boost_unit_test_framework ]
26          [ test-btl-lib run : basic_cstring_test    : boost_unit_test_framework ]
27        ;
28
29test-suite "prg_exec_monitor_test"
30        : [ test-btl-lib run-fail : prg_exec_fail1 : boost_prg_exec_monitor ]
31          [ test-btl-lib run-fail : prg_exec_fail2 : boost_prg_exec_monitor ]
32          [ test-btl-lib run-fail : prg_exec_fail3 : boost_prg_exec_monitor ]
33          [ test-btl-lib run-fail : prg_exec_fail4 : boost_prg_exec_monitor ]
34        ;
35
36test-suite "test_exec_monitor_test"
37        : [ test-btl-lib run-fail : test_exec_fail1 : boost_test_exec_monitor ]
38          [ test-btl-lib run-fail : test_exec_fail2 : boost_test_exec_monitor ]
39          [ test-btl-lib run-fail : test_exec_fail3 : boost_test_exec_monitor ]
40          [ test-btl-lib run-fail : test_exec_fail4 : boost_test_exec_monitor ]
41        ;
42
43test-suite "unit_test_framework_test"
44        :
45
46# errors_handling_test has been commented out because it is in effect a Windows
47# only test and no one has volunteered to get it working on other O/S's.
48          [ test-btl-lib run : errors_handling_test : boost_test_exec_monitor : test_files/errors_handling_test.pattern ]
49          [ test-btl-lib run : online_test ]
50          [ test-btl-lib run-fail : minimal_test ]
51          [ test-btl-lib run : foreach_test ]
52          [ test-btl-lib run : output_test_stream_test  : boost_unit_test_framework ]
53          [ test-btl-lib run : result_report_test       : boost_test_exec_monitor : test_files/result_report_test.pattern ]
54          [ test-btl-lib run : parameterized_test_test  : boost_unit_test_framework ]
55          [ test-btl-lib run : test_fp_comparisons      : boost_unit_test_framework ]
56          [ test-btl-lib run : test_tools_test          : boost_unit_test_framework : test_files/test_tools_test.pattern ]
57          [ test-btl-lib run : auto_unit_test_test      : boost_unit_test_framework ]
58          [ test-btl-lib run : auto_unit_test_test_mult : boost_unit_test_framework : : auto_unit_test_test_mult1.cpp auto_unit_test_test_mult2.cpp ]
59          [ test-btl-lib run : test_case_template_test  : boost_unit_test_framework ]
60          [ test-btl-lib run : custom_exception_test    : boost_unit_test_framework ]
61          [ test-btl-lib run : fixed_mapping_test       : boost_unit_test_framework ]
62          [ test-btl-lib run : ifstream_line_iterator_test : boost_unit_test_framework : test_files/ifstream_line_iterator.tst1 test_files/ifstream_line_iterator.tst2 ]
63          [ test-btl-lib run : algorithms_test : boost_unit_test_framework ]
64          [ test-btl-lib run : token_iterator_test : boost_unit_test_framework ]
65          [ test-btl-lib run : boost_check_equal_str    : boost_test_exec_monitor ]
66          [ test-btl-lib run : config_file_iterator_test : boost_unit_test_framework ]
67          [ test-btl-lib run : config_file_test         : boost_unit_test_framework ]
68            ;
Note: See TracBrowser for help on using the repository browser.