mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 22:46:15 +01:00
Merge branch 'skip-debug-only-tests' into 'main'
testsuite: Make tests not fail in !debug builds Closes #2656 See merge request GNOME/glib!2699
This commit is contained in:
commit
04803944a3
@ -122,6 +122,11 @@ test_object_constructor_infanticide (void)
|
|||||||
GObject *obj;
|
GObject *obj;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
#ifndef G_ENABLE_DEBUG
|
||||||
|
g_test_skip ("skip tests that rely on debug-only warnings");
|
||||||
|
return;
|
||||||
|
#endif
|
||||||
|
|
||||||
g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=661576");
|
g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=661576");
|
||||||
|
|
||||||
for (i = 0; i < 1000; i++)
|
for (i = 0; i < 1000; i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user