aboutsummaryrefslogtreecommitdiff
path: root/zencore-test/zencore-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zencore-test/zencore-test.cpp')
-rw-r--r--zencore-test/zencore-test.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/zencore-test/zencore-test.cpp b/zencore-test/zencore-test.cpp
index 7d7365c54..53413fb25 100644
--- a/zencore-test/zencore-test.cpp
+++ b/zencore-test/zencore-test.cpp
@@ -7,9 +7,8 @@
#include <zencore/zencore.h>
#if ZEN_WITH_TESTS
-# define DOCTEST_CONFIG_IMPLEMENT
+# define ZEN_TEST_WITH_RUNNER 1
# include <zencore/testing.h>
-# undef DOCTEST_CONFIG_IMPLEMENT
#endif
int
@@ -20,7 +19,7 @@ main([[maybe_unused]] int argc, [[maybe_unused]] char* argv[])
zen::logging::InitializeLogging();
- return doctest::Context(argc, argv).run();
+ return ZEN_RUN_TESTS(argc, argv);
#else
return 0;
#endif