]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/test/skipping.py
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / tools / build / test / skipping.py
1 #!/usr/bin/python
2
3 # Copyright 2003 Vladimir Prus
4 # Distributed under the Boost Software License, Version 1.0.
5 # (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
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()