]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/test/print.py
3 # Copyright 2003 Douglas Gregor
4 # Copyright 2005 Vladimir Prus
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()
12 t
.write("jamroot.jam", "import gcc ;")
14 t
.write("jamfile.jam", """
17 print.text \\\"Something\\\" ;
23 t
.expect_content("foo", """\"Something\"""")
25 t.write("jamfile.jam", """
28 print.text
\\\n\\\"Somethingelse
\\\" ;
34 t.expect_content("foo", """\"Something
\"
37 t.write("jamfile
.jam
", """
40 print.text \\\"Different\\\" : true ;
46 t.expect_content("foo
", """\"Different\"""")