transitive_skip.py 627 B

123456789101112131415161718192021222324252627282930
  1. #!/usr/bin/python
  2. # Copyright 2021 Dmitry Arkhipov (grisumbras@gmail.com)
  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. # Regression test: it was possible that due to evaluation of conditional
  6. # requirements, two different values of non-free features were present in a
  7. # property set.
  8. import BoostBuild
  9. t = BoostBuild.Tester()
  10. t.write("a.cpp", "")
  11. t.write("jamroot.jam", """
  12. alias dep : : <build>no ;
  13. make a : dep : maker ;
  14. actions maker
  15. {
  16. this-command-is-unlikely-to-succeed ;
  17. }
  18. """)
  19. t.run_build_system()
  20. t.cleanup()