summaryrefslogtreecommitdiff
path: root/test_support/src
diff options
context:
space:
mode:
Diffstat (limited to 'test_support/src')
-rw-r--r--test_support/src/glib_main.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/test_support/src/glib_main.cpp b/test_support/src/glib_main.cpp
new file mode 100644
index 0000000..d224bad
--- /dev/null
+++ b/test_support/src/glib_main.cpp
@@ -0,0 +1,10 @@
+#include <catch2/catch_session.hpp>
+
+#include <glibmm/init.h>
+
+auto main(int argc, char * argv[]) -> int
+{
+ Glib::init();
+
+ return Catch::Session().run(argc, argv);
+} \ No newline at end of file