mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 13:02:11 +00:00
Fix the two example tests.
[SVN r75855]
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
import BoostBuild
|
||||
|
||||
t = BoostBuild.Tester()
|
||||
t = BoostBuild.Tester(pass_toolset=0)
|
||||
|
||||
t.write("test.jam", """
|
||||
actions unbuilt { }
|
||||
@@ -15,4 +15,4 @@ ECHO "Hi" ;
|
||||
""")
|
||||
|
||||
t.run_build_system("-ftest.jam", stdout="Hi\n")
|
||||
t.pass_test()
|
||||
t.cleanup()
|
||||
|
||||
@@ -11,7 +11,7 @@ t = BoostBuild.Tester()
|
||||
|
||||
t.set_tree("test2")
|
||||
|
||||
file_list = 'bin/foo/$toolset/debug/runtime-link-dynamic/' * \
|
||||
file_list = 'bin/$toolset/debug/' * \
|
||||
BoostBuild.List("foo foo.o")
|
||||
|
||||
t.run_build_system("-sBOOST_BUILD_PATH=" + t.original_workdir + "/..")
|
||||
@@ -22,4 +22,4 @@ t.write("foo.cpp", "int main() {}\n")
|
||||
t.run_build_system("-d2 -sBOOST_BUILD_PATH=" + t.original_workdir + "/..")
|
||||
t.expect_touch(file_list)
|
||||
|
||||
t.pass_test()
|
||||
t.cleanup()
|
||||
|
||||
@@ -2,7 +2,4 @@
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
project-root ;
|
||||
|
||||
exe foo : foo.cpp ;
|
||||
Reference in New Issue
Block a user