File: Jamfile.v2

package info (click to toggle)
boost1.90 1.90.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 593,156 kB
  • sloc: cpp: 4,190,642; xml: 196,648; python: 34,618; ansic: 23,145; asm: 5,468; sh: 3,776; makefile: 1,161; perl: 1,020; sql: 728; ruby: 676; yacc: 478; java: 77; lisp: 24; csh: 6
file content (50 lines) | stat: -rw-r--r-- 1,984 bytes parent folder | download | duplicates (4)
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
43
44
45
46
47
48
49
50
#
#              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 testing ;

# import rules for testing conditional on config file variables
import-search /boost/config/checks ;
import config : requires ;

project : requirements <library>/boost/dynamic_bitset//boost_dynamic_bitset ;

test-suite dynamic_bitset :

    [ run dyn_bitset_unit_tests1.cpp : : : <library>/boost/filesystem//boost_filesystem
                                           <library>/boost/system//boost_system ]
    [ run dyn_bitset_unit_tests2.cpp : : : <library>/boost/filesystem//boost_filesystem
                                           <library>/boost/system//boost_system ]
    [ run dyn_bitset_unit_tests3.cpp : : : <library>/boost/filesystem//boost_filesystem
                                           <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/filesystem//boost_filesystem
             <library>/boost/serialization//boost_serialization
             <library>/boost/system//boost_system ]
    ;
}