mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-12 10:23:50 +01:00
ensure that raise(SIGTERM) is not called in test if g3log was compiled without fatal signal handler
This commit is contained in:
parent
a1748ce66b
commit
a98b91fc5c
@ -311,6 +311,7 @@ TEST(LogTest, LOGF__FATAL) {
|
||||
EXPECT_TRUE(verifyContent(file_content, "FATAL"));
|
||||
}
|
||||
|
||||
#ifndef DISABLE_FATAL_SIGNALHANDLING
|
||||
|
||||
TEST(LogTest, FatalSIGTERM__UsingDefaultHandler) {
|
||||
RestoreFileLogger logger(log_directory);
|
||||
@ -383,7 +384,7 @@ TEST(LogTest, FatalSIGTERM__UsingCustomHandler) {
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
TEST(LogTest, LOG_preFatalLogging_hook) {
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user