]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
1 | #!/usr/bin/python |
2 | ||
3 | # Copyright 2021 Dmitry Arkhipov (grisumbras@gmail.com) | |
4 | # Distributed under the Boost Software License, Version 1.0. | |
5 | # (See accompanying file LICENSE.txt or https://www.bfgroup.xyz/b2/LICENSE.txt) | |
6 | ||
7 | # Regression test: it was possible that due to evaluation of conditional | |
8 | # requirements, two different values of non-free features were present in a | |
9 | # property set. | |
10 | ||
11 | import BoostBuild | |
12 | ||
13 | t = BoostBuild.Tester() | |
14 | ||
15 | t.write("a.cpp", "") | |
16 | ||
17 | t.write("jamroot.jam", """ | |
18 | alias dep : : <build>no ; | |
19 | make a : dep : maker ; | |
20 | ||
21 | actions maker | |
22 | { | |
23 | this-command-is-unlikely-to-succeed ; | |
24 | } | |
25 | ||
26 | """) | |
27 | ||
28 | t.run_build_system() | |
29 | ||
30 | t.cleanup() |