]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/test/composite.py
update sources to v12.2.3
[ceph.git] / ceph / src / boost / tools / build / test / composite.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 composite properties are handled correctly.
8
9 import BoostBuild
10
11 t = BoostBuild.Tester(use_test_config=False)
12
13 t.write("jamroot.jam", """
14 exe hello : hello.cpp : <variant>release ;
15 """)
16
17 t.write("hello.cpp", """
18 int main() {}
19 """)
20
21 t.run_build_system()
22
23 t.expect_addition("bin/$toolset/release*/hello.exe")
24
25 t.cleanup()