]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/test/space_in_path.py
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / tools / build / test / space_in_path.py
1 #!/usr/bin/python
2
3 # Copyright 2012 Steven Watanabe
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 paths containing spaces are handled correctly by actions.
8
9 import BoostBuild
10
11 t = BoostBuild.Tester(use_test_config=False)
12
13 t.write("has space/jamroot.jam", """\
14 import testing ;
15 unit-test test : test.cpp ;
16 """)
17 t.write("has space/test.cpp", "int main() {}\n")
18
19 t.run_build_system(["has space"])
20
21 t.cleanup()