aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/main.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-03-14 16:33:17 +0100
committerGitHub Enterprise <[email protected]>2024-03-14 16:33:17 +0100
commit45bfc721dd049193abf3b2be2aa7b097466ddbe9 (patch)
treeabb6cf119aa148972aabad730ed384c115177cf1 /src/zenserver/main.cpp
parentchange code owners for Enterprise github user names (#7) (diff)
downloadzen-45bfc721dd049193abf3b2be2aa7b097466ddbe9.tar.xz
zen-45bfc721dd049193abf3b2be2aa7b097466ddbe9.zip
clean up test linking (#4)
- Improvement: Add zenhttp-test and zenutil-test - Improvement: Moved cachepolicy test to cachepolicy.cpp - Improvement: Renamed cachestore tests from z$ to cachestore - Improvement: Moved test linking so test for a lib is linked by <lib>-test - Improvement: Removed HttpRequestParseRelativeUri in httpstructuredcache.cpp and use the one in cacherequests.h instead
Diffstat (limited to 'src/zenserver/main.cpp')
-rw-r--r--src/zenserver/main.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/zenserver/main.cpp b/src/zenserver/main.cpp
index 8faefca88..4a5b98e8e 100644
--- a/src/zenserver/main.cpp
+++ b/src/zenserver/main.cpp
@@ -23,7 +23,6 @@
#if ZEN_USE_MIMALLOC
ZEN_THIRD_PARTY_INCLUDES_START
# include <mimalloc-new-delete.h>
-# include <mimalloc.h>
ZEN_THIRD_PARTY_INCLUDES_END
#endif
@@ -293,11 +292,7 @@ ZenWindowsService::Run()
int
test_main(int argc, char** argv)
{
- zen::zencore_forcelinktests();
- zen::zenhttp_forcelinktests();
- zen::zenstore_forcelinktests();
- zen::zenutil_forcelinktests();
- zen::z$service_forcelink();
+ zen::zenserver_forcelinktests();
zen::logging::InitializeLogging();
zen::logging::SetLogLevel(zen::logging::level::Debug);
@@ -311,11 +306,10 @@ test_main(int argc, char** argv)
int
main(int argc, char* argv[])
{
- using namespace zen;
-
#if ZEN_USE_MIMALLOC
mi_version();
#endif
+ using namespace zen;
if (argc >= 2)
{