projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72ffe46
)
testsuite: Call g_test_init in test binaries
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 14 Sep 2021 20:10:39 +0000
(16:10 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 31 Oct 2021 21:52:04 +0000
(17:52 -0400)
Without it, we mess out on G_DEBUG=fatal-warnings,
so our ci does not alert us that we run a bunch of
tests which spit out warnings.
testsuite/gsk/compare-render.c
patch
|
blob
|
history
diff --git
a/testsuite/gsk/compare-render.c
b/testsuite/gsk/compare-render.c
index 5494c61d1e48a5f90e2c702934fd5b0977a84806..a62252ab357d595e928493b7eb7ea1f4065326e1 100644
(file)
--- a/
testsuite/gsk/compare-render.c
+++ b/
testsuite/gsk/compare-render.c
@@
-162,6
+162,8
@@
main (int argc, char **argv)
GError *error = NULL;
GOptionContext *context;
+ (g_test_init) (&argc, &argv, NULL);
+
context = g_option_context_new ("NODE REF - run GSK node tests");
g_option_context_add_main_entries (context, options, NULL);
g_option_context_set_ignore_unknown_options (context, TRUE);