aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp-test/zenhttp-test.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2025-05-15 11:22:29 +0100
committerGitHub Enterprise <[email protected]>2025-05-15 12:22:29 +0200
commit5df6ebbf497401b6124a0b44470165bc14880585 (patch)
tree74092bf1bb3b65b0648c3de4453e2e31b63cae16 /src/zenhttp-test/zenhttp-test.cpp
parent`zen oplog-import` and `zen oplog-export` now supports `--oidctoken-exe-path`... (diff)
downloadzen-5df6ebbf497401b6124a0b44470165bc14880585.tar.xz
zen-5df6ebbf497401b6124a0b44470165bc14880585.zip
make sure tests initialize trace so we don't end up allocating tons of memory for no reason (#397)
Diffstat (limited to 'src/zenhttp-test/zenhttp-test.cpp')
-rw-r--r--src/zenhttp-test/zenhttp-test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zenhttp-test/zenhttp-test.cpp b/src/zenhttp-test/zenhttp-test.cpp
index 49db1ba54..a1327320e 100644
--- a/src/zenhttp-test/zenhttp-test.cpp
+++ b/src/zenhttp-test/zenhttp-test.cpp
@@ -3,6 +3,7 @@
#include <zencore/filesystem.h>
#include <zencore/logging.h>
#include <zencore/memory/newdelete.h>
+#include <zencore/trace.h>
#include <zenhttp/zenhttp.h>
#if ZEN_WITH_TESTS
@@ -16,6 +17,7 @@ main([[maybe_unused]] int argc, [[maybe_unused]] char* argv[])
#if ZEN_WITH_TESTS
zen::zenhttp_forcelinktests();
+ zen::TraceInit("zenhttp-test");
zen::logging::InitializeLogging();
zen::MaximizeOpenFileCount();