]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/test/core_parallel_actions.py
3 # Copyright 2006 Rene Rivera.
4 # Copyright 2011 Steven Watanabe
5 # Distributed under the Boost Software License, Version 1.0.
6 # (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
10 t
= BoostBuild
.Tester(pass_toolset
=0, pass_d0
=False)
12 t
.write("sleep.bat", """\
13 ::@timeout /T %1 /NOBREAK >nul
14 @ping 127.0.0.1 -n 2 -w 1000 >nul
15 @ping 127.0.0.1 -n %1 -w 1000 >nul
19 t
.write("file.jam", """\
56 DEPENDS choke : 1.a 2.a 3.a 4.a ;
61 DEPENDS bottom : 1.b 2.b 3.b 4.b ;
62 DEPENDS all : bottom ;
65 t
.run_build_system(["-ffile.jam", "-j4"], stdout
="""\
66 ...found 12 targets...
67 ...updating 8 targets...
100 ...updated 8 targets...