|
Boost-Commit : |
From: jurko.gospodnetic_at_[hidden]
Date: 2008-05-01 17:19:12
Author: jurko
Date: 2008-05-01 17:19:11 EDT (Thu, 01 May 2008)
New Revision: 44995
URL: http://svn.boost.org/trac/boost/changeset/44995
Log:
Minor stylistic changes.
Text files modified:
trunk/tools/build/v2/test/unit_test.py | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)
Modified: trunk/tools/build/v2/test/unit_test.py
==============================================================================
--- trunk/tools/build/v2/test/unit_test.py (original)
+++ trunk/tools/build/v2/test/unit_test.py 2008-05-01 17:19:11 EDT (Thu, 01 May 2008)
@@ -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 @@
t.run_build_system("link=static")
t.expect_addition("bin/$toolset/debug/link-static/test.passed")
-
-
-
t.cleanup()
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk