summaryrefslogtreecommitdiff
path: root/test_support
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2024-07-23 15:08:19 +0200
committerFelix Morgner <felix.morgner@gmail.com>2024-07-23 15:08:19 +0200
commit4ec6a2ae12b6adb843c0777649ff45a741ca6cbc (patch)
tree93dc2ba99dbcb42b2af73f0a3c4cd4f0c0f091c4 /test_support
parent5f4249a37ce816b8deceb299bc841190fbb15983 (diff)
downloadturns-4ec6a2ae12b6adb843c0777649ff45a741ca6cbc.tar.xz
turns-4ec6a2ae12b6adb843c0777649ff45a741ca6cbc.zip
domain: redesign turn_order
Diffstat (limited to 'test_support')
-rw-r--r--test_support/CMakeLists.txt1
-rw-r--r--test_support/src/glib_main.cpp9
2 files changed, 10 insertions, 0 deletions
diff --git a/test_support/CMakeLists.txt b/test_support/CMakeLists.txt
index ce77a90..447032d 100644
--- a/test_support/CMakeLists.txt
+++ b/test_support/CMakeLists.txt
@@ -18,6 +18,7 @@ target_compile_definitions("test_support-glib" PUBLIC
target_link_libraries("test_support-glib" PUBLIC
"PkgConfig::glibmm"
+ "PkgConfig::giomm"
)
# GTK test support
diff --git a/test_support/src/glib_main.cpp b/test_support/src/glib_main.cpp
index d224bad..b9dc858 100644
--- a/test_support/src/glib_main.cpp
+++ b/test_support/src/glib_main.cpp
@@ -1,10 +1,19 @@
#include <catch2/catch_session.hpp>
+#include <giomm/init.h>
#include <glibmm/init.h>
+namespace turns::tests
+{
+ auto register_types() -> void;
+} // namespace turns::tests
+
auto main(int argc, char * argv[]) -> int
{
+ Gio::init();
Glib::init();
+ turns::tests::register_types();
+
return Catch::Session().run(argc, argv);
} \ No newline at end of file