]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/test/message.py
f0f0d3152abe16b4d8060915d5967d0781b51ec8
3 # Copyright (C) Vladimir Prus 2003.
4 # Distributed under the Boost Software License, Version 1.0.
5 # (See accompanying file LICENSE_1_0.txt or copy at
6 # http://www.boost.org/LICENSE_1_0.txt)
8 # Test for the regression testing framework.
12 # Create a temporary working directory.
13 t
= BoostBuild
.Tester(use_test_config
=False)
15 t
.write("Jamroot.jam", """
18 : usage-requirements <define>TEST=1
19 : default-build <link>static
21 message hello : "Hello World!" ;
22 alias hello : : <link>shared ;
23 obj test : test.cpp hello : <link>static ;
26 t
.write("test.cpp", """
28 #error TEST not defined
32 t
.run_build_system(["test"], stdout
="""Hello World!
35 t
.expect_addition("bin/$toolset/link-static/test.obj")
36 t
.expect_nothing_more()