From de10d27aab64efe8697c763bd80c66b866d6fdaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Thu, 1 May 2008 21:19:11 +0000 Subject: [PATCH] Minor stylistic changes. [SVN r44995] --- v2/test/unit_test.py | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/v2/test/unit_test.py b/v2/test/unit_test.py index bb0d0474f..f3ec569ec 100644 --- a/v2/test/unit_test.py +++ b/v2/test/unit_test.py @@ -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 : 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()