From 8eb4d76411a21a45e8eef18f44723d2aad04cbaa Mon Sep 17 00:00:00 2001 From: Edward d'Auvergne Date: Mon, 7 May 2018 12:41:22 +0200 Subject: [PATCH] TestSuite: Fix for the summary and return status of the tests. --- test_suite/fgTestRunner.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_suite/fgTestRunner.cxx b/test_suite/fgTestRunner.cxx index 7365dbe31..40dc5c168 100644 --- a/test_suite/fgTestRunner.cxx +++ b/test_suite/fgTestRunner.cxx @@ -63,5 +63,5 @@ int testRunner(const std::string& title, char *subset, bool verbose, bool ctest_ // Return the status of the tests. CppUnit::TestResultCollector &status = runner.result(); - return status.testFailures(); + return status.testFailuresTotal(); }