[libsoup] xmlrpc-test: use g_test_skip()



commit 96279397f976a3bf2568373e9baafb915e47c4d3
Author: Dan Winship <danw gnome org>
Date:   Sun Mar 9 12:43:16 2014 -0400

    xmlrpc-test: use g_test_skip()
    
    There was a comment about not using g_test_skip() here because of an
    old glib bug, but we're using g_test_skip() in lots of other places
    now, so...

 tests/xmlrpc-test.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/tests/xmlrpc-test.c b/tests/xmlrpc-test.c
index 46eee26..15623a6 100644
--- a/tests/xmlrpc-test.c
+++ b/tests/xmlrpc-test.c
@@ -373,10 +373,7 @@ test_echo (void)
 
        for (i = 0; i < echoes->n_values; i++) {
                if (!server_test && strcmp (echo_strings_broken[i], g_value_get_string (&echoes->values[i])) 
== 0) {
-                       /* We want to call g_test_skip(), but as of glib 2.38
-                        * that marks the test as failed rather than succeeded.
-                        */
-                       // FIXME g_test_skip ("PHP bug");
+                       g_test_skip ("PHP bug");
                        g_value_array_free (echoes);
                        return;
                }


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