]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/test/test2.py
df42a2c543b7c58154e2b240bf838d3f47c32fb5
3 # Copyright 2002, 2003 Dave Abrahams
4 # Copyright 2002, 2003 Vladimir Prus
5 # Distributed under the Boost Software License, Version 1.0.
6 # (See accompanying file LICENSE.txt or https://www.bfgroup.xyz/b2/LICENSE.txt)
10 t
= BoostBuild
.Tester()
14 file_list
= 'bin/$toolset/debug*/' * \
15 BoostBuild
.List("foo.exe foo.obj")
17 t
.run_build_system(["-sBOOST_BUILD_PATH=" + t
.original_workdir
+ "/.."])
18 t
.expect_addition(file_list
)
21 t
.write("foo.cpp", "int main() {}\n")
22 t
.run_build_system(["-d2", "-sBOOST_BUILD_PATH=" + t
.original_workdir
+ "/.."])
23 t
.expect_touch(file_list
)