example_make.py 438 B

1234567891011121314151617
  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 'make' example.
  7. import BoostBuild
  8. import sys
  9. t = BoostBuild.Tester(['example.python.interpreter=%s' % sys.executable])
  10. t.set_tree("../example/make")
  11. t.run_build_system()
  12. t.expect_addition(["bin/main.cpp"])
  13. t.cleanup()