]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/test/skipping.py
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)
7 # Test that V2 does not fail gracelessy when any target is skipped.
11 # Create a temporary working directory.
12 t
= BoostBuild
.Tester(use_test_config
=False)
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", """\
19 feature.feature foo : 1 2 : link-incompatible ;
20 exe a : a.cpp : <foo>1 ;
21 exe b : b.cpp : <foo>2 ;
25 t
.run_build_system(["foo=1"])