From 32d74493c4f5cb49473d764367aba072803a1a50 Mon Sep 17 00:00:00 2001 From: Edward d'Auvergne Date: Fri, 16 Mar 2018 21:15:06 +0100 Subject: [PATCH] TestSuite: The fatal exit() call has been removed from the globals setup. The exceptions that occur after this call can be handled by CppUnit, but the exit() results in the test suite silently exiting without restoring stdout and stderr. --- test_suite/helpers/globals.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/test_suite/helpers/globals.cxx b/test_suite/helpers/globals.cxx index 6ead84a37..5cb52824d 100644 --- a/test_suite/helpers/globals.cxx +++ b/test_suite/helpers/globals.cxx @@ -62,7 +62,6 @@ namespace fgtest if (!foundRoot) { std::cerr << "FGData not found" << std::endl; - exit(EXIT_FAILURE); } tests_fgdata = globals->get_fg_root();