Last change
on this file since 32 was
29,
checked in by landauf, 17 years ago
|
updated boost from 1_33_1 to 1_34_1
|
File size:
952 bytes
|
Line | |
---|
1 | #!/usr/bin/python |
---|
2 | |
---|
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) |
---|
7 | |
---|
8 | from BoostBuild import Tester, List |
---|
9 | |
---|
10 | t = Tester() |
---|
11 | |
---|
12 | t.write("project-root.jam", "import gcc ;") |
---|
13 | t.write("Jamfile", """ |
---|
14 | import print ; |
---|
15 | print.output foo ; |
---|
16 | print.text \\\"Something\\\" ; |
---|
17 | DEPENDS all : foo ; |
---|
18 | ALWAYS foo ; |
---|
19 | """) |
---|
20 | |
---|
21 | t.run_build_system() |
---|
22 | t.expect_content("foo", """\"Something\"""") |
---|
23 | |
---|
24 | t.write("Jamfile", """ |
---|
25 | import print ; |
---|
26 | print.output foo ; |
---|
27 | print.text \\\n\\\"Somethingelse\\\" ; |
---|
28 | DEPENDS all : foo ; |
---|
29 | ALWAYS foo ; |
---|
30 | """) |
---|
31 | |
---|
32 | t.run_build_system() |
---|
33 | t.expect_content("foo", """\"Something\" |
---|
34 | \"Somethingelse\"""") |
---|
35 | |
---|
36 | t.write("Jamfile", """ |
---|
37 | import print ; |
---|
38 | print.output foo ; |
---|
39 | print.text \\\"Different\\\" : true ; |
---|
40 | DEPENDS all : foo ; |
---|
41 | ALWAYS foo ; |
---|
42 | """) |
---|
43 | |
---|
44 | t.run_build_system() |
---|
45 | t.expect_content("foo", """\"Different\"""") |
---|
46 | |
---|
47 | t.cleanup() |
---|
Note: See
TracBrowser
for help on using the repository browser.