aboutsummaryrefslogtreecommitdiff
path: root/src/zencore-test/zencore-test.cpp
diff options
context:
space:
mode:
authorLiam Mitchell <[email protected]>2025-03-13 17:46:06 -0700
committerGitHub Enterprise <[email protected]>2025-03-13 17:46:06 -0700
commit64f9055d3b5c445c57a0f2dacd20853667013819 (patch)
tree54cf2adb63dec15affcdb796335b472d19e06bac /src/zencore-test/zencore-test.cpp
parentchangelog (diff)
parentUpdate Linux service type and add libsystemd dependency (diff)
downloadzen-64f9055d3b5c445c57a0f2dacd20853667013819.tar.xz
zen-64f9055d3b5c445c57a0f2dacd20853667013819.zip
Merge pull request #288 from ue-foundation/lm/zen-service-command
Implementation of service commands for Linux.
Diffstat (limited to 'src/zencore-test/zencore-test.cpp')
-rw-r--r--src/zencore-test/zencore-test.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/zencore-test/zencore-test.cpp b/src/zencore-test/zencore-test.cpp
index 40cb51156..37ae7f587 100644
--- a/src/zencore-test/zencore-test.cpp
+++ b/src/zencore-test/zencore-test.cpp
@@ -12,6 +12,7 @@
#if ZEN_WITH_TESTS
# define ZEN_TEST_WITH_RUNNER 1
# include <zencore/testing.h>
+# include <zencore/process.h>
#endif
int
@@ -20,6 +21,10 @@ main([[maybe_unused]] int argc, [[maybe_unused]] char* argv[])
#if ZEN_WITH_TESTS
zen::zencore_forcelinktests();
+#if ZEN_PLATFORM_LINUX
+ zen::IgnoreChildSignals();
+#endif
+
zen::logging::InitializeLogging();
zen::MaximizeOpenFileCount();