[glib/glib-2-22] Disable a test that does not work



commit 189453aa815f260e843e920e3894174a3c555fdd
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Dec 1 00:06:11 2009 -0500

    Disable a test that does not work

 glib/tests/option-context.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/glib/tests/option-context.c b/glib/tests/option-context.c
index 913ad5c..ac1df67 100644
--- a/glib/tests/option-context.c
+++ b/glib/tests/option-context.c
@@ -1770,7 +1770,12 @@ main (int   argc,
   g_test_add_func ("/context/add", add_test1);
 
   /* Test parsing empty args */
+#if 0
+  /* This test relies on being able to call g_set_prgname() more
+   * than once.
+   */
   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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]