diff options
| author | Liam Mitchell <[email protected]> | 2025-02-27 02:16:10 +0000 |
|---|---|---|
| committer | Liam Mitchell <[email protected]> | 2025-02-27 02:16:10 +0000 |
| commit | c49b0a053c5e28de1afa83600ebffd383766e38a (patch) | |
| tree | 3b9e7880e09ff816edd1fc9f996015ed9e6ee522 /src/zenutil-test/zenutil-test.cpp | |
| parent | Linux compilation fixes (diff) | |
| download | zen-c49b0a053c5e28de1afa83600ebffd383766e38a.tar.xz zen-c49b0a053c5e28de1afa83600ebffd383766e38a.zip | |
Implementation of service commands for Linux.
Diffstat (limited to 'src/zenutil-test/zenutil-test.cpp')
| -rw-r--r-- | src/zenutil-test/zenutil-test.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/zenutil-test/zenutil-test.cpp b/src/zenutil-test/zenutil-test.cpp index fadaf0995..a392ab058 100644 --- a/src/zenutil-test/zenutil-test.cpp +++ b/src/zenutil-test/zenutil-test.cpp @@ -9,6 +9,7 @@ #if ZEN_WITH_TESTS # define ZEN_TEST_WITH_RUNNER 1 # include <zencore/testing.h> +# include <zencore/process.h> #endif int @@ -17,6 +18,10 @@ main([[maybe_unused]] int argc, [[maybe_unused]] char* argv[]) #if ZEN_WITH_TESTS zen::zenutil_forcelinktests(); +#if ZEN_PLATFORM_LINUX + zen::IgnoreChildSignals(); +#endif + zen::logging::InitializeLogging(); zen::MaximizeOpenFileCount(); |