catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Fixed bug in xml reporter that didn't accumulate success status correctly
- Commit
b1d9fa82b68240ea4bc4365c295abf3a397f4d68- Author
- Phil Nash ·
- Parents
06134ba1677b
Changes
catch_reporter_xml.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() )