]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/test/property_expansion.py
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / tools / build / test / property_expansion.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.txt or https://www.bfgroup.xyz/b2/LICENSE.txt)
6
7 # Test that free property inside.
8
9 import BoostBuild
10
11 t = BoostBuild.Tester(use_test_config=False)
12
13 t.write("jamroot.jam", """\
14 variant debug-AA : debug : <define>AA ;
15 alias all : hello ;
16 exe hello : hello.cpp ;
17 explicit hello ;
18 """)
19
20 t.write("hello.cpp", """\
21 #ifdef AA
22 int main() {}
23 #endif
24 """)
25
26 t.run_build_system(["debug-AA"])
27
28 t.cleanup()