summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/dynamic_bitset/test/Jamfile.v2
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/dynamic_bitset/test/Jamfile.v2')
-rw-r--r--src/boost/libs/dynamic_bitset/test/Jamfile.v242
1 files changed, 42 insertions, 0 deletions
diff --git a/src/boost/libs/dynamic_bitset/test/Jamfile.v2 b/src/boost/libs/dynamic_bitset/test/Jamfile.v2
new file mode 100644
index 00000000..91f91def
--- /dev/null
+++ b/src/boost/libs/dynamic_bitset/test/Jamfile.v2
@@ -0,0 +1,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 ]
+ ;
+}