mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 06:21:14 +00:00
testsuite: Don't skip test
The test now works without debugging as debug messages are always available.
This commit is contained in:
parent
1a93967e1f
commit
f624586a75
@ -135,14 +135,6 @@ assert_icon_lookup_fails (const char *icon_name,
|
||||
g_assert_cmpstr (gtk_icon_paintable_get_icon_name (info), ==, "image-missing");
|
||||
}
|
||||
|
||||
#ifdef G_ENABLE_DEBUG
|
||||
#define require_debug()
|
||||
#else
|
||||
#define require_debug() \
|
||||
g_test_skip ("requires G_ENABLE_DEBUG"); \
|
||||
return;
|
||||
#endif
|
||||
|
||||
static void
|
||||
do_icon_lookup (const char *icon_name,
|
||||
int size,
|
||||
@ -196,7 +188,6 @@ static void
|
||||
func (void) \
|
||||
{ \
|
||||
char *pattern; \
|
||||
require_debug (); \
|
||||
if (g_test_subprocess ()) \
|
||||
{ \
|
||||
guint debug_flags = gtk_get_debug_flags (); \
|
||||
|
Loading…
Reference in New Issue
Block a user