]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/tools/build/test/skipping.py
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / tools / build / test / skipping.py
CommitLineData
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
9import BoostBuild
10
11# Create a temporary working directory.
12t = BoostBuild.Tester(use_test_config=False)
13
14t.write("a.cpp", "int main() {}\n")
15t.write("b.cpp", "int main() {}\n")
16t.write("c.cpp", "int main() {}\n")
17t.write("jamroot.jam", """\
18import feature ;
19feature.feature foo : 1 2 : link-incompatible ;
20exe a : a.cpp : <foo>1 ;
21exe b : b.cpp : <foo>2 ;
22exe c : c.cpp ;
23""")
24
25t.run_build_system(["foo=1"])
26
27t.cleanup()