2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00

Adjust tests to the fact that print.text no longer implicitly adds newline.

[SVN r31643]
This commit is contained in:
Vladimir Prus
2005-11-14 13:38:49 +00:00
parent 2cbab7f5d3
commit 484b71cf3f
2 changed files with 5 additions and 8 deletions

View File

@@ -48,7 +48,7 @@ t.write("r.rcc", """
""")
t.run_build_system()
t.expect_content("bin/$toolset/debug/r.obj", "rc-object\n")
t.expect_content("bin/$toolset/debug/r.obj", "rc-object")
t.cleanup()

View File

@@ -14,21 +14,19 @@ ALWAYS foo ;
""")
t.run_build_system()
t.expect_content("foo", """\"Something\"
""")
t.expect_content("foo", """\"Something\"""")
t.write("Jamfile", """
import print ;
print.output foo ;
print.text \\\"Somethingelse\\\" ;
print.text \\\n\\\"Somethingelse\\\" ;
DEPENDS all : foo ;
ALWAYS foo ;
""")
t.run_build_system()
t.expect_content("foo", """\"Something\"
\"Somethingelse\"
""")
\"Somethingelse\"""")
t.write("Jamfile", """
import print ;
@@ -39,7 +37,6 @@ ALWAYS foo ;
""")
t.run_build_system()
t.expect_content("foo", """\"Different\"
""")
t.expect_content("foo", """\"Different\"""")
t.cleanup()