1
0
Fork 0

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.
This commit is contained in:
Edward d'Auvergne 2018-03-16 21:15:06 +01:00
parent 98debee29c
commit 32d74493c4

View file

@ -62,7 +62,6 @@ namespace fgtest
if (!foundRoot) {
std::cerr << "FGData not found" << std::endl;
exit(EXIT_FAILURE);
}
tests_fgdata = globals->get_fg_root();