Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/libs/multi_index/test/Jamfile @ 12

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

added boost

File size: 3.2 KB
Line 
1# Boost.MultiIndex tests Jamfile
2#
3# Copyright 2003-2005 Joaquín M López Muñoz.
4# Distributed under the Boost Software License, Version 1.0.
5# (See accompanying file LICENSE_1_0.txt or copy at
6# http://www.boost.org/LICENSE_1_0.txt)
7#
8# See http://www.boost.org/libs/multi_index for library home page.
9
10subproject libs/multi_index/test ;
11
12# bring in rules for testing
13
14import testing ;
15
16local rule special-requirements ( toolset variant : properties * )
17{
18    # GCC on Tru64 has problems with long debug symbols generated by
19    # Boost.MultiIndex, so we turn them off when in that platform
20
21    if $(UNIX) && $(OS) = OSF
22    {
23        switch $(toolset)
24        {
25            case gcc* : properties =
26                [ replace-properties $(properties) : <debug-symbols>off ] ;
27        }
28    }
29   
30    return $(properties) ;
31}
32   
33# local specialization of rule run automatically including special requirements
34
35local rule local-run ( sources + : args * : input-files * : requirements *
36    : name ? : default-build * : args2 * )
37{
38    return [ run $(sources) : $(args) : $(input-files)
39        : $(requirements) special-requirements
40        : $(name) : $(default-build) : $(args2) ] ;
41}
42
43# make tests run by default
44
45DEPENDS all : test ;
46
47# bring in Boost.Serialization rules
48
49import ../../../libs/serialization/build/serialization ;
50
51{
52    test-suite "multi_index"
53        : [ local-run test_basic.cpp            test_basic_main.cpp            ]
54        : [ local-run test_capacity.cpp         test_capacity_main.cpp         ]
55        : [ local-run test_comparison.cpp       test_comparison_main.cpp       ]
56        : [ local-run test_composite_key.cpp    test_composite_key_main.cpp    ]
57        : [ local-run test_conv_iterators.cpp   test_conv_iterators_main.cpp   ]
58        : [ local-run test_copy_assignment.cpp  test_copy_assignment_main.cpp  ]
59        : [ local-run test_hash_ops.cpp         test_hash_ops_main.cpp         ]
60        : [ local-run test_iterators.cpp        test_iterators_main.cpp        ]
61        : [ local-run test_key_extractors.cpp   test_key_extractors_main.cpp   ]
62        : [ local-run test_list_ops.cpp         test_list_ops_main.cpp         ]
63        : [ local-run test_modifiers.cpp        test_modifiers_main.cpp        ]
64        : [ local-run test_mpl_ops.cpp          test_mpl_ops_main.cpp          ]
65        : [ local-run test_observers.cpp        test_observers_main.cpp        ]
66        : [ local-run test_projection.cpp       test_projection_main.cpp       ]
67        : [ local-run test_range.cpp            test_range_main.cpp            ]
68        : [ local-run test_safe_mode.cpp        test_safe_mode_main.cpp        ]
69        : [ local-run test_serialization.cpp    test_serialization_main.cpp
70                <lib>../../serialization/build/boost_serialization           
71            : # args
72            : # input files
73            : std::locale-support toolset::require-boost-spirit-support        ]
74        : [ local-run test_set_ops.cpp          test_set_ops_main.cpp          ]
75        : [ local-run test_special_list_ops.cpp test_special_list_ops_main.cpp ]
76        : [ local-run test_special_set_ops.cpp  test_special_set_ops_main.cpp  ]
77        : [ local-run test_update.cpp           test_update_main.cpp           ]
78        ;
79}
Note: See TracBrowser for help on using the repository browser.