|
Boost-Commit : |
From: jurko.gospodnetic_at_[hidden]
Date: 2008-08-23 05:08:26
Author: jurko
Date: 2008-08-23 05:08:24 EDT (Sat, 23 Aug 2008)
New Revision: 48310
URL: http://svn.boost.org/trac/boost/changeset/48310
Log:
Minor stylistic changes made to the Boost Build test/generators_test.py test case module.
Text files modified:
trunk/tools/build/v2/test/generators_test.py | 34 +++++++++++-----------------------
1 files changed, 11 insertions(+), 23 deletions(-)
Modified: trunk/tools/build/v2/test/generators_test.py
==============================================================================
--- trunk/tools/build/v2/test/generators_test.py (original)
+++ trunk/tools/build/v2/test/generators_test.py 2008-08-23 05:08:24 EDT (Sat, 23 Aug 2008)
@@ -1,41 +1,29 @@
#!/usr/bin/python
-# Copyright 2003 Dave Abrahams
-# Copyright 2002, 2003, 2005 Vladimir Prus
-# 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)
+# Copyright 2003 Dave Abrahams
+# Copyright 2002, 2003, 2005 Vladimir Prus
+# 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)
-from BoostBuild import Tester, List
-import os
+import BoostBuild
-t = Tester()
+t = BoostBuild.Tester()
t.set_tree("generators-test")
t.run_build_system()
-t.expect_addition(
- "bin/$toolset/debug/"
- * (
- List(
- "a.obj b.obj c.h c.cpp c.obj d_parser.whl d_lexer.dlp d_parser.cpp d_lexer.cpp "
- + "d_parser.lr0 d_parser.h d_parser_symbols.h x.c x.obj y.x1 y.x2 "
- + "y.cpp y.obj e.marked_cpp e.positions e.target_cpp e.obj "))
- )
-ok = 0
-
+t.expect_addition( "bin/$toolset/debug/" * BoostBuild.List( "a.obj b.obj c.h "
+ + "c.cpp c.obj d_parser.whl d_lexer.dlp d_parser.cpp d_lexer.cpp "
+ + "d_parser.lr0 d_parser.h d_parser_symbols.h x.c x.obj y.x1 y.x2 y.cpp "
+ + "y.obj e.marked_cpp e.positions e.target_cpp e.obj"))
t.expect_addition("bin/$toolset/debug/a.exe")
-
t.expect_addition(["lib/bin/$toolset/debug/c.obj",
- "lib/bin/$toolset/debug/auxilliary.lib",
- ])
-
+ "lib/bin/$toolset/debug/auxilliary.lib"])
t.run_build_system(subdir='lib')
-
t.expect_addition(["lib/bin/$toolset/debug/auxilliary2.dll"])
t.run_build_system(subdir='lib', extra_args="link=static")
-
t.expect_addition(["lib/bin/$toolset/debug/link-static/auxilliary2.lib"])
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