mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 01:07:57 +00:00
Fix summary stats for unit test results
This commit is contained in:
@@ -315,7 +315,8 @@ void UnitTests::runTest (UnitTest& test)
|
||||
{
|
||||
ScopedPointer <UnitTest::Suite> suite (test.run (this).release ());
|
||||
|
||||
m_results->tests += suite->cases.size ();
|
||||
m_results->cases += suite->cases.size ();
|
||||
m_results->tests += suite->tests;
|
||||
m_results->failures += suite->failures;
|
||||
|
||||
m_results->suites.add (suite.release ());
|
||||
|
||||
Reference in New Issue
Block a user