From 12939c54f93ddc61c02b592ced931fb30d797fe8 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 29 Nov 2009 20:47:51 -0500 Subject: [PATCH] Disable a broken test One of the option context tests relied on the ability to call g_set_pgrname() more than once. Thats no longer possible (without incurring a warning that wrecks the test). --- glib/tests/option-context.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/glib/tests/option-context.c b/glib/tests/option-context.c index 913ad5c..14fd9d9 100644 --- a/glib/tests/option-context.c +++ b/glib/tests/option-context.c @@ -1770,7 +1770,13 @@ main (int argc, g_test_add_func ("/context/add", add_test1); /* Test parsing empty args */ +#if 0 + /* This test relies on the ability to call g_set_prgname() more + * than once (without incurring a g_warning), which is no longer + * the case. + */ g_test_add_func ("/context/empty1", empty_test1); +#endif g_test_add_func ("/context/empty2", empty_test2); g_test_add_func ("/context/empty3", empty_test3); -- 2.7.4