]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | #!/usr/bin/python |
2 | ||
3 | # Copyright 2003 Vladimir Prus | |
4 | # Distributed under the Boost Software License, Version 1.0. | |
1e59de90 | 5 | # (See accompanying file LICENSE.txt or https://www.bfgroup.xyz/b2/LICENSE.txt) |
7c673cae FG |
6 | |
7 | # Test that V2 does not fail gracelessy when any target is skipped. | |
8 | ||
9 | import BoostBuild | |
10 | ||
11 | # Create a temporary working directory. | |
12 | t = BoostBuild.Tester(use_test_config=False) | |
13 | ||
14 | t.write("a.cpp", "int main() {}\n") | |
15 | t.write("b.cpp", "int main() {}\n") | |
16 | t.write("c.cpp", "int main() {}\n") | |
17 | t.write("jamroot.jam", """\ | |
18 | import feature ; | |
19 | feature.feature foo : 1 2 : link-incompatible ; | |
20 | exe a : a.cpp : <foo>1 ; | |
21 | exe b : b.cpp : <foo>2 ; | |
22 | exe c : c.cpp ; | |
23 | """) | |
24 | ||
25 | t.run_build_system(["foo=1"]) | |
26 | ||
27 | t.cleanup() |