]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/test/using.py
3 # Copyright (C) Vladimir Prus 2005.
4 # Distributed under the Boost Software License, Version 1.0. (See
5 # accompanying file LICENSE_1_0.txt or copy at
6 # http://www.boost.org/LICENSE_1_0.txt)
10 t
= BoostBuild
.Tester(use_test_config
=False)
12 t
.write("jamroot.jam", "using some_tool ;")
13 t
.write("some_tool.jam", """\
15 project.initialize $(__name__) ;
19 t
.write("some_tool.py", """\
20 from b2.manager import get_manager
21 get_manager().projects().initialize(__name__)
26 t
.write("sub/a.cpp", "int main() {}\n")
27 t
.write("sub/jamfile.jam", "exe a : a.cpp ;")
29 t
.run_build_system(subdir
="sub")
30 t
.expect_addition("sub/bin/$toolset/debug*/a.exe")