[glib] Disable a broken test
- From: Matthias Clasen <matthiasc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [glib] Disable a broken test
- Date: Mon, 30 Nov 2009 02:21:07 +0000 (UTC)
commit 12939c54f93ddc61c02b592ced931fb30d797fe8
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Nov 29 20:47:51 2009 -0500
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 files changed, 6 insertions(+), 0 deletions(-)
---
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]