Jamfile 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #==============================================================================
  2. # Copyright (c) 2001-2009 Joel de Guzman
  3. # Copyright (c) 2001-2009 Hartmut Kaiser
  4. # Copyright (c) 2017-2019 Nikita Kniazev
  5. #
  6. # Use, modification and distribution is subject to the Boost Software
  7. # License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  8. # http://www.boost.org/LICENSE_1_0.txt)
  9. #==============================================================================
  10. project spirit_v2_repository/test
  11. : requirements
  12. <include>.
  13. <c++-template-depth>300
  14. :
  15. :
  16. ;
  17. ###############################################################################
  18. alias qi-pch : : <pch>on-spirit:<source>../../test/qi//pch ;
  19. alias ka-pch : : <pch>on-spirit:<source>../../test/karma//pch ;
  20. explicit qi-pch ka-pch ;
  21. ###############################################################################
  22. import os ;
  23. local keywords_reqs ;
  24. if [ os.environ APPVEYOR ]
  25. {
  26. # Workaround MSVC codegen bug. See #400 for the info.
  27. keywords_reqs = <toolset>msvc-14.1:<inlining>off ;
  28. }
  29. # bring in rules for testing
  30. import testing ;
  31. {
  32. test-suite spirit_v2_repository :
  33. # run Qi repository tests
  34. [ run qi-pch qi/advance.cpp : : : : qi_repo_advance ]
  35. [ run qi-pch qi/confix.cpp : : : : qi_repo_confix ]
  36. [ run qi-pch qi/distinct.cpp : : : : qi_repo_distinct ]
  37. [ run qi-pch qi/subrule.cpp : : : : qi_repo_subrule ]
  38. [ run qi-pch qi/keywords.cpp : : : $(keywords_reqs) : qi_repo_keywords ]
  39. [ run qi-pch qi/seek.cpp : : : : qi_repo_seek ]
  40. # run Karma repository tests
  41. [ run ka-pch karma/confix.cpp : : : : karma_repo_confix ]
  42. [ run ka-pch karma/subrule.cpp : : : : karma_repo_subrule ]
  43. ;
  44. }