Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/tools/build/v2/test/bad_dirname.py @ 12

Last change on this file since 12 was 12, checked in by landauf, 17 years ago

added boost

  • Property svn:executable set to *
File size: 685 bytes
Line 
1#!/usr/bin/python
2
3#  Copyright (C) Vladimir Prus 2003. Permission to copy, use, modify, sell and
4#  distribute this software is granted provided this copyright notice appears in
5#  all copies. This software is provided "as is" without express or implied
6#  warranty, and with no claim as to its suitability for any purpose.
7
8
9#  Regression test: when directory of project root contained regex metacharacters,
10#  Boost.Build failed to work. Bug reported by Michael Stevens
11
12from BoostBuild import Tester, List
13
14t = Tester()
15
16t.write("bad[abc]dirname/Jamfile", """
17""")
18
19t.write("bad[abc]dirname/project-root.jam", """
20""")
21
22t.run_build_system(subdir="bad[abc]dirname")
23
24t.cleanup()
25
Note: See TracBrowser for help on using the repository browser.