|
Boost-Commit : |
From: gennadiy.rozental_at_[hidden]
Date: 2008-07-06 20:58:22
Author: rogeeff
Date: 2008-07-06 20:58:22 EDT (Sun, 06 Jul 2008)
New Revision: 47151
URL: http://svn.boost.org/trac/boost/changeset/47151
Log:
Fix test case filter
Text files modified:
trunk/boost/test/impl/unit_test_main.ipp | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
Modified: trunk/boost/test/impl/unit_test_main.ipp
==============================================================================
--- trunk/boost/test/impl/unit_test_main.ipp (original)
+++ trunk/boost/test/impl/unit_test_main.ipp 2008-07-06 20:58:22 EDT (Sun, 06 Jul 2008)
@@ -135,6 +135,11 @@
// test tree visitor interface
virtual void visit( test_case const& tc )
{
+ if( m_depth < m_filters.size() ) {
+ tc.p_enabled.value = false;
+ return;
+ }
+
filter_unit( tc );
--m_depth;
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