projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40ac372
)
testsuite: Be less verbose in accessor-apis test
author
Benjamin Otte
<otte@redhat.com>
Thu, 20 Apr 2023 15:31:57 +0000
(17:31 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Thu, 20 Apr 2023 15:47:54 +0000
(17:47 +0200)
Only print the tried names when --verbose is passed to the test.
testsuite/gtk/accessor-apis.c
patch
|
blob
|
history
diff --git
a/testsuite/gtk/accessor-apis.c
b/testsuite/gtk/accessor-apis.c
index aae3c17821be8eafa6e481998276d89766aa3877..63b2942d7a9b713e4d1a490f0de244e161ba8979 100644
(file)
--- a/
testsuite/gtk/accessor-apis.c
+++ b/
testsuite/gtk/accessor-apis.c
@@
-218,9
+218,12
@@
check_function_name (GType type,
}
g_test_message ("No %s for property %s::%s", get ? "getter" : "setter", g_type_name (type), property_name);
-
for (i = 0; names[i] != NULL; i++
)
+
if (g_test_verbose ()
)
{
- g_test_message (" %s", names[i]);
+ for (i = 0; names[i] != NULL; i++)
+ {
+ g_test_message (" %s", names[i]);
+ }
}
g_test_fail ();