]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/test/build_no.py
3 # Copyright (C) Vladimir Prus 2006.
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)
8 # Tests that <build>no property prevents a target from being built.
12 t
= BoostBuild
.Tester(use_test_config
=False)
14 t
.write("jamroot.jam", "exe hello : hello.cpp : <variant>debug:<build>no ;")
15 t
.write("hello.cpp", "int main() {}\n")
18 t
.expect_nothing_more()
20 t
.run_build_system(["release"])
21 t
.expect_addition("bin/$toolset/release*/hello.exe")