Jamfile.v2 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. # Boost.MultiIndex tests Jamfile
  2. #
  3. # Copyright 2003-2018 Joaquín M López Muñoz.
  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. # See http://www.boost.org/libs/multi_index for library home page.
  9. import os ;
  10. import type ;
  11. # Windows Vista UAC has an heuristic by which executable files whose name
  12. # contains any of the words "install", "setup", "update", etc. are assumed
  13. # to be installation packages needing administrative rights, which causes
  14. # the system to bring up a window asking for execution confirmation by the
  15. # user, thus interferring in the unattended bjam process.
  16. # Problem bypassed by changing the EXE names containing a taboo word.
  17. # Thanks to Rene Rivera for guidance on the use of the <tag> feature.
  18. rule change-test_update-exe-name ( name : type ? : property-set )
  19. {
  20. if [ os.on-windows ] && [ type.is-subtype $(type) EXE ]
  21. {
  22. return test_updat.exe ;
  23. }
  24. }
  25. project
  26. : requirements
  27. <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
  28. <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS
  29. <toolset>msvc:<define>_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS
  30. <toolset>msvc:<cxxflags>/wd4494
  31. ;
  32. obj boost_multi_index_key_supported : check_bmi_key_supported.cpp ;
  33. explicit boost_multi_index_key_supported ;
  34. test-suite "multi_index" :
  35. [ run test_basic.cpp test_basic_main.cpp ]
  36. [ run test_capacity.cpp test_capacity_main.cpp ]
  37. [ run test_comparison.cpp test_comparison_main.cpp ]
  38. [ run test_composite_key.cpp test_composite_key_main.cpp ]
  39. [ run test_conv_iterators.cpp test_conv_iterators_main.cpp ]
  40. [ run test_copy_assignment.cpp test_copy_assignment_main.cpp ]
  41. [ run test_hash_ops.cpp test_hash_ops_main.cpp ]
  42. [ run test_iterators.cpp test_iterators_main.cpp ]
  43. [ run test_key.cpp test_key_main.cpp
  44. : : :
  45. [ check-target-builds boost_multi_index_key_supported
  46. "BOOST_MULTI_INDEX_KEY_SUPPORTED defined"
  47. : : <build>no ] ]
  48. [ run test_key_extractors.cpp test_key_extractors_main.cpp ]
  49. [ run test_list_ops.cpp test_list_ops_main.cpp ]
  50. [ run test_modifiers.cpp test_modifiers_main.cpp ]
  51. [ run test_mpl_ops.cpp test_mpl_ops_main.cpp ]
  52. [ run test_observers.cpp test_observers_main.cpp ]
  53. [ run test_projection.cpp test_projection_main.cpp ]
  54. [ run test_range.cpp test_range_main.cpp ]
  55. [ run test_rank_ops.cpp test_rank_ops_main.cpp ]
  56. [ run test_rearrange.cpp test_rearrange_main.cpp ]
  57. [ run test_safe_mode.cpp test_safe_mode_main.cpp ]
  58. [ run test_serialization.cpp test_serialization1.cpp
  59. test_serialization2.cpp test_serialization3.cpp
  60. test_serialization_main.cpp
  61. /boost/serialization//boost_serialization ]
  62. [ run test_set_ops.cpp test_set_ops_main.cpp ]
  63. [ run test_special_set_ops.cpp test_special_set_ops_main.cpp ]
  64. [ run test_update.cpp test_update_main.cpp
  65. : : :
  66. -<tag>@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).tag
  67. <tag>@change-test_update-exe-name ]
  68. ;