example_customization.py 470 B

123456789101112131415161718192021
  1. #!/usr/bin/python
  2. # Copyright (C) Vladimir Prus 2006.
  3. # Distributed under the Boost Software License, Version 1.0. (See
  4. # accompanying file LICENSE.txt or copy at
  5. # https://www.bfgroup.xyz/b2/LICENSE.txt)
  6. # Test the 'customization' example.
  7. import BoostBuild
  8. t = BoostBuild.Tester()
  9. t.set_tree("../example/customization")
  10. t.run_build_system()
  11. t.expect_addition(["bin/$toolset/debug*/codegen.exe",
  12. "bin/$toolset/debug*/usage.cpp"])
  13. t.cleanup()