]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/test/bad_dirname.py
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / tools / build / test / bad_dirname.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 # Regression test: when directory of project root contained regex
8 # metacharacters, Boost.Build failed to work. Bug reported by Michael Stevens.
9
10 import BoostBuild
11
12 t = BoostBuild.Tester()
13
14 t.write("bad[abc]dirname/jamfile.jam", """
15 """)
16
17 t.write("bad[abc]dirname/jamroot.jam", """
18 """)
19
20 t.run_build_system(subdir="bad[abc]dirname")
21
22 t.cleanup()