]>
Commit | Line | Data |
---|---|---|
f67539c2 TL |
1 | #!/usr/bin/python |
2 | ||
3 | # Copyright (C) Mateusz Loskot 2020. | |
4 | # Distributed under the Boost Software License, Version 1.0. (See | |
1e59de90 TL |
5 | # accompanying file LICENSE.txt or copy at |
6 | # https://www.bfgroup.xyz/b2/LICENSE.txt) | |
f67539c2 TL |
7 | |
8 | # Test that Jam syntax error results in non-zero exit status | |
9 | ||
10 | import BoostBuild | |
11 | ||
12 | # Create a temporary working directory. | |
13 | t = BoostBuild.Tester() | |
14 | ||
15 | # Create the needed files. | |
16 | t.write("jamroot.jam", """ | |
17 | exe hello : hello.cpp | |
18 | ||
19 | """) | |
20 | ||
21 | t.run_build_system(status=1) | |
22 | ||
23 | t.cleanup() |