1#!/usr/local/bin/python3.8
2
3#  Copyright (C) Vladimir Prus 2006.
4#  Distributed under the Boost Software License, Version 1.0. (See
5#  accompanying file LICENSE_1_0.txt or copy at
6#  http://www.boost.org/LICENSE_1_0.txt)
7
8#  Test the 'qt4' examples.
9
10import BoostBuild
11
12t = BoostBuild.Tester()
13
14t.set_tree("../example/qt/qt4/hello")
15t.run_build_system()
16t.expect_addition(["bin/$toolset/debug*/threading-multi/arrow"])
17
18t.set_tree("../example/qt/qt4/moccable-cpp")
19t.run_build_system()
20t.expect_addition(["bin/$toolset/debug*/threading-multi/main"])
21
22t.set_tree("../example/qt/qt4/uic")
23t.run_build_system()
24t.expect_addition(["bin/$toolset/debug*/threading-multi/hello"])
25
26t.cleanup()
27