]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/test/core_d12.py
3 # Copyright 2002, 2003 Vladimir Prus
4 # Distributed under the Boost Software License, Version 1.0.
5 # (See accompanying file LICENSE.txt or copy at
6 # https://www.bfgroup.xyz/b2/LICENSE.txt)
8 # This tests correct handling of "-d1" and "-d2" options.
12 t
= BoostBuild
.Tester(["-ffile.jam"], pass_toolset
=0)
14 t
.write("file.jam", """\
22 t
.run_build_system(["-d0"], stdout
="")
24 t
.run_build_system(["-d1"])
25 t
.expect_output_lines("a all")
26 t
.expect_output_lines("b all", False)
28 t
.run_build_system(["-d2"])
29 t
.expect_output_lines("a all")
30 t
.expect_output_lines("b all")