mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 01:12:13 +00:00
Minor stylistic changes.
[SVN r44995]
This commit is contained in:
@@ -5,18 +5,17 @@
|
||||
# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
# Test the unit_test rule
|
||||
from BoostBuild import Tester, List
|
||||
import BoostBuild
|
||||
|
||||
t = Tester()
|
||||
t = BoostBuild.Tester()
|
||||
|
||||
# Create the needed files
|
||||
t.write("project-root.jam", """
|
||||
# Create the needed files.
|
||||
t.write("Jamroot.jam", """
|
||||
using testing ;
|
||||
""")
|
||||
t.write("Jamfile", """
|
||||
lib helper : helper.cpp ;
|
||||
unit-test test : test.cpp : <library>helper ;
|
||||
""")
|
||||
|
||||
t.write("test.cpp", """
|
||||
void helper();
|
||||
int main()
|
||||
@@ -37,7 +36,4 @@ helper() {}
|
||||
t.run_build_system("link=static")
|
||||
t.expect_addition("bin/$toolset/debug/link-static/test.passed")
|
||||
|
||||
|
||||
|
||||
|
||||
t.cleanup()
|
||||
|
||||
Reference in New Issue
Block a user