1#~ Copyright Rene Rivera 2008 2#~ Copyright James E. King III 2018 3#~ Distributed under the Boost Software License, Version 1.0. 4#~ (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 6 7project 8 : requirements 9 <library>/boost/system//boost_system 10 <define>BOOST_ALL_NO_LIB=1 11 <warnings>all 12 <toolset>clang:<cxxflags>-Wextra 13 <toolset>clang:<cxxflags>-Wno-variadic-macros 14 <toolset>gcc:<cxxflags>-Wextra 15 <toolset>gcc:<cxxflags>-Wshadow 16 <toolset>gcc:<cxxflags>-Wno-variadic-macros 17 <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS 18 ; 19 20import common ; 21import os ; 22import testing ; 23 24test-suite pool : 25 [ run test_simple_seg_storage.cpp : : : <toolset>msvc:<cxxflags>-wd4267 ] 26 [ run test_pool_alloc.cpp ] 27 [ run pool_msvc_compiler_bug_test.cpp : : : <toolset>msvc:<cxxflags>-wd4512 ] 28 [ run test_msvc_mem_leak_detect.cpp ] 29 [ run test_bug_3349.cpp ] 30 [ run test_bug_4960.cpp ] 31 [ run test_bug_1252.cpp : : : 32 <toolset>clang:<cxxflags>-Wno-c++11-long-long 33 <toolset>gcc:<cxxflags>-Wno-long-long 34 <toolset>pathscale:<cxxflags>-Wno-long-long ] 35 [ run test_bug_2696.cpp ] 36 [ run test_bug_5526.cpp ] 37 [ run test_threading.cpp : : : <threading>multi <library>/boost/thread//boost_thread ] 38 [ compile test_poisoned_macros.cpp ] 39 ; 40 41if [ os.environ VALGRIND_OPTS ] 42{ 43test-suite pool-valgrind : 44 [ run test_pool_alloc.cpp : : : <define>BOOST_POOL_VALGRIND=1 : test_pool_alloc_valgrind ] 45 [ run-fail test_valgrind_fail_1.cpp : : : <define>BOOST_POOL_VALGRIND=1 ] 46 [ run-fail test_valgrind_fail_2.cpp : : : <define>BOOST_POOL_VALGRIND=1 ] 47 ; 48} 49 50