Add separate - non BOOST - test program to test exit(1)

This commit is contained in:
Joakim Hove
2019-01-04 16:52:10 +01:00
parent 2cd6fa2f49
commit 23cbe9035b
3 changed files with 52 additions and 9 deletions

View File

@@ -749,15 +749,6 @@ BOOST_AUTO_TEST_CASE( test_invalid_wtemplate_config ) {
}
BOOST_AUTO_TEST_CASE(Test_EXIT1) {
/*
The error handler EXIT1 is not tested at all. The reason is that testing that
would require the setup of an extra process and then check the exit status of
the extra process - that kind of feelt a bit over the top.
*/
}
/*
If there are errors the ErrorGuard destructor will print error messages and
call std::terminate(); if you do not accept the std::terminate in the