Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPhil Nash2011-04-19 18:53:24 +0100
committerPhil Nash2011-04-19 18:53:24 +0100
commitb1d9fa82b68240ea4bc4365c295abf3a397f4d68 (patch)
treeb59380f521d8f935df694ee578663058c0aa3f64
parent06134ba1677be44d59e3566fbb318c0f0a9ee81d (diff)
downloadcatch3-b1d9fa82b68240ea4bc4365c295abf3a397f4d68.tar.gz
Fixed bug in xml reporter that didn't accumulate success status correctly
-rw-r--r--catch_reporter_xml.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/catch_reporter_xml.hpp b/catch_reporter_xml.hpp
index 8b26f169..b54e39b6 100644
--- a/catch_reporter_xml.hpp
+++ b/catch_reporter_xml.hpp
@@ -128,7 +128,7 @@ namespace Catch
.writeText( resultInfo.getExpression() );
m_xml.scopedElement( "Expanded" )
.writeText( resultInfo.getExpandedExpression() );
- m_currentTestSuccess |= resultInfo.ok();
+ m_currentTestSuccess &= resultInfo.ok();
}
switch( resultInfo.getResultType() )