From a2c73b6ba3c9ea307b0b0eb94c9e769a1f31dc00 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 12 May 2025 16:21:53 +0200 Subject: lib: move C library to new directory --- lib/tests/runtime_init.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lib/tests/runtime_init.cpp (limited to 'lib/tests/runtime_init.cpp') diff --git a/lib/tests/runtime_init.cpp b/lib/tests/runtime_init.cpp new file mode 100644 index 0000000..189ef35 --- /dev/null +++ b/lib/tests/runtime_init.cpp @@ -0,0 +1,21 @@ +#include "turns-init.h" + +#include +#include + +namespace turns::core::tests +{ + + struct glib_test_init : Catch::EventListenerBase + { + using Catch::EventListenerBase::EventListenerBase; + + auto testRunStarting(Catch::TestRunInfo const &) -> void override + { + turns_init(); + } + }; + + CATCH_REGISTER_LISTENER(glib_test_init); + +} // namespace turns::core::tests \ No newline at end of file -- cgit v1.2.3