]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/test/install_build_no.py
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / tools / build / test / install_build_no.py
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 # Check that <build>no in usage-requirements of dependencies does not affect
8 # install rule, i.e. a skipped installed target does not affect insallation of
9 # other targets.
10
11 import BoostBuild
12
13 t = BoostBuild.Tester()
14
15 t.write("a.cpp", "int main() {}\n")
16
17 t.write("jamroot.jam", """
18 make x : : maker : <build>no ;
19 exe a : a.cpp ;
20 install install : x a ;
21 """)
22
23 t.run_build_system()
24 t.expect_addition("install/a.exe")
25
26 t.cleanup()