summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/dynamic_bitset/test/Jamfile.v2
blob: 91f91defe5194ffd3b4bb5563160fd5e20a8af30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#
#              Copyright Vladimir Prus 2004
#
# Distributed under the Boost Software License, Version 1.0.
#     (See accompanying file LICENSE_1_0.txt or copy at
#           http://www.boost.org/LICENSE_1_0.txt)
#

import os ;

# import rules for testing conditional on config file variables
import ../../config/checks/config : requires ;

test-suite dynamic_bitset :

    [ run dyn_bitset_unit_tests1.cpp : : : <library>/boost/system//boost_system ]
    [ run dyn_bitset_unit_tests2.cpp : : : <library>/boost/system//boost_system ]
    [ run dyn_bitset_unit_tests3.cpp : : : <library>/boost/system//boost_system ]
    [ run dyn_bitset_unit_tests4.cpp : : : <library>/boost/filesystem//boost_filesystem
                                           <library>/boost/system//boost_system ]
    [ run test_ambiguous_set.cpp ]
    [ run test_lowest_bit.cpp ]

    [ run test_boost_hash.cpp ]
    [ run test_std_hash.cpp          : : : [ requires cxx11_hdr_unordered_set ] ] 

    [ compile-fail test_std_hash.cpp : [ requires cxx11_hdr_unordered_set ]
                                       <define>BOOST_DYNAMIC_BITSET_NO_STD_HASH
                                     : test_std_hash_disabled ]
    ;

# due to https://github.com/boostorg/serialization/issues/108
if ! [ os.environ UBSAN_OPTIONS ]
{
  test-suite dynamic_bitset_serialization :

    [ run dyn_bitset_unit_tests5.cpp
       : : : <define>_SCL_SECURE_NO_WARNINGS=1
             <library>/boost/serialization//boost_serialization
             <library>/boost/system//boost_system ]
    ;
}