example_qt4.py 675 B

1234567891011121314151617181920212223242526
  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 'qt4' examples.
  7. import BoostBuild
  8. t = BoostBuild.Tester()
  9. t.set_tree("../example/qt/qt4/hello")
  10. t.run_build_system()
  11. t.expect_addition(["bin/$toolset/debug*/threading-multi/arrow"])
  12. t.set_tree("../example/qt/qt4/moccable-cpp")
  13. t.run_build_system()
  14. t.expect_addition(["bin/$toolset/debug*/threading-multi/main"])
  15. t.set_tree("../example/qt/qt4/uic")
  16. t.run_build_system()
  17. t.expect_addition(["bin/$toolset/debug*/threading-multi/hello"])
  18. t.cleanup()