Jamfile.v2 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. project
  6. : requirements
  7. <library>/boost/system//boost_system
  8. <define>BOOST_ALL_NO_LIB=1
  9. <warnings>all
  10. <toolset>clang:<cxxflags>-Wextra
  11. <toolset>clang:<cxxflags>-Wno-variadic-macros
  12. <toolset>gcc:<cxxflags>-Wextra
  13. <toolset>gcc:<cxxflags>-Wshadow
  14. <toolset>gcc:<cxxflags>-Wno-variadic-macros
  15. <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
  16. ;
  17. import common ;
  18. import os ;
  19. import testing ;
  20. test-suite pool :
  21. [ run test_simple_seg_storage.cpp : : : <toolset>msvc:<cxxflags>-wd4267 ]
  22. [ run test_pool_alloc.cpp ]
  23. [ run pool_msvc_compiler_bug_test.cpp : : : <toolset>msvc:<cxxflags>-wd4512 ]
  24. [ run test_msvc_mem_leak_detect.cpp ]
  25. [ run test_bug_3349.cpp ]
  26. [ run test_bug_4960.cpp ]
  27. [ run test_bug_1252.cpp : : :
  28. <toolset>clang:<cxxflags>-Wno-c++11-long-long
  29. <toolset>gcc:<cxxflags>-Wno-long-long
  30. <toolset>pathscale:<cxxflags>-Wno-long-long ]
  31. [ run test_bug_2696.cpp ]
  32. [ run test_bug_5526.cpp ]
  33. [ run test_threading.cpp : : : <threading>multi <library>/boost/thread//boost_thread ]
  34. [ compile test_poisoned_macros.cpp ]
  35. ;
  36. if [ os.environ VALGRIND_OPTS ]
  37. {
  38. test-suite pool-valgrind :
  39. [ run test_pool_alloc.cpp : : : <define>BOOST_POOL_VALGRIND=1 : test_pool_alloc_valgrind ]
  40. [ run-fail test_valgrind_fail_1.cpp : : : <define>BOOST_POOL_VALGRIND=1 ]
  41. [ run-fail test_valgrind_fail_2.cpp : : : <define>BOOST_POOL_VALGRIND=1 ]
  42. ;
  43. }