stdout retained for all sections

Fixed issue where stdout was dropped between sections
This commit is contained in:
Phil Nash
2011-12-28 10:23:32 +00:00
parent 458e5eec16
commit b13ad46532
6 changed files with 40 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
/*
/*
* catch_runner.hpp
* Catch
*
@@ -45,7 +45,7 @@ namespace Catch
~StreamRedirect
()
{
m_targetString = m_oss.str();
m_targetString += m_oss.str();
m_stream.rdbuf( m_prevBuf );
}

View File

@@ -74,7 +74,6 @@ namespace Catch
if( testSpec.matches( it->getName() ) )
{
testList.push_back( *it );
std::cout << it->getName() << std::endl;
}
}
return testList;