composite.py 523 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/python
  2. # Copyright 2003 Vladimir Prus
  3. # Distributed under the Boost Software License, Version 1.0.
  4. # (See accompanying file LICENSE.txt or https://www.bfgroup.xyz/b2/LICENSE.txt)
  5. # Test that composite properties are handled correctly.
  6. import BoostBuild
  7. t = BoostBuild.Tester(use_test_config=False)
  8. t.write("jamroot.jam", """
  9. exe hello : hello.cpp : <variant>release ;
  10. """)
  11. t.write("hello.cpp", """
  12. int main() {}
  13. """)
  14. t.run_build_system()
  15. t.expect_addition("bin/$toolset/release*/hello.exe")
  16. t.cleanup()