Imported Upstream version 1.57.0
[platform/upstream/boost.git] / libs / system / test / Jamfile.v2
1 # Boost System Library test Jamfile
2
3 # Copyright Beman Dawes 2003, 2006
4
5 # Distributed under the Boost Software License, Version 1.0.
6 # See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt
7
8 # See library home page at http://www.boost.org/libs/system
9
10
11 project
12     : requirements
13       <library>/boost/system//boost_system
14       <toolset>msvc:<asynch-exceptions>on
15     ;
16     
17    lib throw_test
18      : throw_test.cpp
19      : <link>shared:<define>BOOST_SYSTEM_DYN_LINK=1
20        <link>static:<define>BOOST_SYSTEM_STATIC_LINK=1
21      ;
22    
23
24    test-suite "system"
25        : [ run error_code_test.cpp
26            : # command line
27            : # input files
28            : # requirements
29                    <link>static
30          ]
31          [ run error_code_test.cpp
32            :  :  : <link>shared : error_code_test_shared
33          ]
34          [ run error_code_user_test.cpp
35            :  :  : <link>static
36          ]
37          [ run error_code_user_test.cpp
38            :  :  : <link>shared : error_code_user_test_shared
39          ]
40          [ run system_error_test.cpp
41            :  :  : <link>static
42          ]
43          [ run system_error_test.cpp
44             :  :  : <link>shared : system_error_test_shared
45          ]
46          [ run dynamic_link_test.cpp throw_test
47            :  :  : <link>shared : throw_test_shared
48          ]
49          [ run initialization_test.cpp
50             :  :  : <link>shared : initialization_test_shared
51          ]
52          [ run header_only_test.cpp
53            :  :  : <link>static
54          ]
55          [ run config_test.cpp
56            :  :  : <test-info>always_show_run_output 
57          ]
58          ;