Jamfile.v2 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #~ Copyright Rene Rivera 2008
  2. #~ Distributed under the Boost Software License, Version 1.0.
  3. #~ (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  4. import testing ;
  5. import ../../config/checks/config : requires ;
  6. project : requirements <warnings>all <toolset>gcc:<cxxflags>-Wextra ;
  7. obj has_gmpxx : has_gmpxx.cpp ;
  8. explicit has_gmpxx ;
  9. test-suite integer
  10. :
  11. [ run integer_traits_test.cpp ]
  12. [ run integer_test.cpp : : : <toolset>gcc:<cxxflags>-Wno-long-long <toolset>darwin:<cxxflags>-Wno-long-long <toolset>sun:<cxxflags>"-Qoption ccfe -tmpldepth=128" ]
  13. [ run integer_mask_test.cpp ]
  14. [ run static_log2_test.cpp ]
  15. [ run static_min_max_test.cpp ]
  16. [ run extended_euclidean_test.cpp ]
  17. [ run mod_inverse_test.cpp ]
  18. [ compile integer_traits_include_test.cpp ]
  19. [ compile integer_include_test.cpp ]
  20. [ compile integer_mask_include_test.cpp ]
  21. [ compile static_log2_include_test.cpp ]
  22. [ compile static_min_max_include_test.cpp ]
  23. [ compile integer_fwd_include_test.cpp ]
  24. [ compile gcd_constexpr14_test.cpp ]
  25. [ compile gcd_noexcept_test.cpp ]
  26. [ compile-fail fail_int_exact.cpp ]
  27. [ compile-fail fail_int_fast.cpp ]
  28. [ compile-fail fail_int_least.cpp ]
  29. [ compile-fail fail_uint_exact.cpp ]
  30. [ compile-fail fail_uint_fast.cpp ]
  31. [ compile-fail fail_uint_least.cpp ]
  32. [ compile-fail fail_uint_65.cpp ]
  33. [ run common_factor_test.cpp : : : [ check-target-builds has_gmpxx "Checking for gmpxx.h" : <define>BOOST_INTEGER_HAS_GMPXX_H=1 <linkflags>-lgmp <linkflags>-lgmpxx ] ]
  34. ;