example_libraries.py 490 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 'libraries' example.
  7. import BoostBuild
  8. t = BoostBuild.Tester(use_test_config=False)
  9. t.set_tree("../example/libraries")
  10. t.run_build_system()
  11. t.expect_addition(["app/bin/$toolset/debug*/app.exe",
  12. "util/foo/bin/$toolset/debug*/bar.dll"])
  13. t.cleanup()