|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r74712 - in trunk/boost/test: impl tree
From: gennadiy.rozental_at_[hidden]
Date: 2011-10-05 00:54:03
Author: rogeeff
Date: 2011-10-05 00:53:58 EDT (Wed, 05 Oct 2011)
New Revision: 74712
URL: http://svn.boost.org/trac/boost/changeset/74712
Log:
missing include
small logic bug in framework
Text files modified:
trunk/boost/test/impl/framework.ipp | 3 ++-
trunk/boost/test/tree/visitor.hpp | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
Modified: trunk/boost/test/impl/framework.ipp
==============================================================================
--- trunk/boost/test/impl/framework.ipp (original)
+++ trunk/boost/test/impl/framework.ipp 2011-10-05 00:53:58 EDT (Wed, 05 Oct 2011)
@@ -334,7 +334,8 @@
void visit( test_case const& tc )
{
// all the setup work
- test_unit_start( tc );
+ if( !test_unit_start( tc ) )
+ return;
// setup contexts
m_context_idx = 0;
Modified: trunk/boost/test/tree/visitor.hpp
==============================================================================
--- trunk/boost/test/tree/visitor.hpp (original)
+++ trunk/boost/test/tree/visitor.hpp 2011-10-05 00:53:58 EDT (Wed, 05 Oct 2011)
@@ -18,8 +18,9 @@
// Boost.Test
#include <boost/test/detail/config.hpp>
-#include <boost/test/detail/suppress_warnings.hpp>
+#include <boost/test/tree/test_unit.hpp>
+#include <boost/test/detail/suppress_warnings.hpp>
//____________________________________________________________________________//
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