toolset_gcc.py 822 B

1234567891011121314151617181920212223242526
  1. #!/usr/bin/python
  2. #
  3. # Copyright 2017 Steven Watanabe
  4. #
  5. # Distributed under the Boost Software License, Version 1.0.
  6. # (See accompanying file LICENSE.txt or copy at
  7. # https://www.bfgroup.xyz/b2/LICENSE.txt)
  8. # validates the gcc toolset using a mock of gcc
  9. from TestToolset import test_toolset
  10. test_toolset("gcc", "4.8.3", [
  11. ["target-os=linux"],
  12. ["target-os=linux", "release"],
  13. ["target-os=linux", "threading=multi"],
  14. ["target-os=linux", "link=static"],
  15. ["target-os=linux", "link=static", "runtime-link=static"],
  16. ["target-os=linux", "cxxstd=latest"]])
  17. test_toolset("gcc", "4.2.1", [
  18. ["target-os=darwin"],
  19. ["target-os=darwin", "release"],
  20. ["target-os=darwin", "threading=multi"],
  21. ["target-os=darwin", "link=static"],
  22. ["target-os=darwin", "link=static", "runtime-link=static"]])