1# 2# Copyright Vladimir Prus 2004 3# 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 9import os ; 10 11# import rules for testing conditional on config file variables 12import ../../config/checks/config : requires ; 13 14test-suite dynamic_bitset : 15 16 [ run dyn_bitset_unit_tests1.cpp : : : <library>/boost/system//boost_system ] 17 [ run dyn_bitset_unit_tests2.cpp : : : <library>/boost/system//boost_system ] 18 [ run dyn_bitset_unit_tests3.cpp : : : <library>/boost/system//boost_system ] 19 [ run dyn_bitset_unit_tests4.cpp : : : <library>/boost/filesystem//boost_filesystem 20 <library>/boost/system//boost_system ] 21 [ run test_ambiguous_set.cpp ] 22 [ run test_lowest_bit.cpp ] 23 24 [ run test_boost_hash.cpp ] 25 [ run test_std_hash.cpp : : : [ requires cxx11_hdr_unordered_set ] ] 26 27 [ compile-fail test_std_hash.cpp : [ requires cxx11_hdr_unordered_set ] 28 <define>BOOST_DYNAMIC_BITSET_NO_STD_HASH 29 : test_std_hash_disabled ] 30 ; 31 32# due to https://github.com/boostorg/serialization/issues/108 33if ! [ os.environ UBSAN_OPTIONS ] 34{ 35 test-suite dynamic_bitset_serialization : 36 37 [ run dyn_bitset_unit_tests5.cpp 38 : : : <define>_SCL_SECURE_NO_WARNINGS=1 39 <library>/boost/serialization//boost_serialization 40 <library>/boost/system//boost_system ] 41 ; 42} 43