Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79702 - trunk/tools/build/v2/test
From: jurko.gospodnetic_at_[hidden]
Date: 2012-07-23 14:19:35


Author: jurko
Date: 2012-07-23 14:19:34 EDT (Mon, 23 Jul 2012)
New Revision: 79702
URL: http://svn.boost.org/trac/boost/changeset/79702

Log:
Updated the internal Boost Build project_test3.py test to not test for the complete Boost Jam output but only the important parts. This way warnings shown at misconfigured tester locations will no longer cause this test to fail.
Text files modified:
   trunk/tools/build/v2/test/project_test3.py | 8 ++++----
   1 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/tools/build/v2/test/project_test3.py
==============================================================================
--- trunk/tools/build/v2/test/project_test3.py (original)
+++ trunk/tools/build/v2/test/project_test3.py 2012-07-23 14:19:34 EDT (Mon, 23 Jul 2012)
@@ -14,10 +14,10 @@
 # First check some startup.
 t.set_tree("project-test3")
 os.remove("jamroot.jam")
-t.run_build_system(status=1, stdout="""\
-error: Could not find parent for project at '.'
-error: Did not find Jamfile.jam or Jamroot.jam in any parent directory.
-""")
+t.run_build_system(status=1)
+
+t.expect_output_lines("error: Could not find parent for project at '.'\n"
+ "error: Did not find Jamfile.jam or Jamroot.jam in any parent directory.")
 
 t.set_tree("project-test3")
 t.run_build_system()


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