]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | #!/usr/bin/python |
2 | ||
3 | # (c) Copyright Juergen Hunold 2012 | |
4 | # Use, modification, and distribution are subject to the | |
5 | # Boost Software License, Version 1.0. (See accompanying file | |
1e59de90 | 6 | # LICENSE.txt or copy at https://www.bfgroup.xyz/b2/LICENSE.txt) |
7c673cae FG |
7 | |
8 | import BoostBuild | |
9 | import os | |
10 | ||
11 | # Run test in real directory in order to find Boost.Test via Boost Top-Level | |
12 | # Jamroot. | |
1e59de90 | 13 | qt5_dir = os.path.dirname(os.path.abspath(__file__)) + "/qt5" |
7c673cae FG |
14 | |
15 | t = BoostBuild.Tester(workdir=qt5_dir) | |
16 | ||
17 | t.run_build_system() | |
1e59de90 TL |
18 | # Fails if a warning is thrown |
19 | t.fail_test( t.stdout().find("warning") != -1 ) | |
7c673cae | 20 | t.cleanup() |