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