[gmime] added more debug spew. why art thou failing on the bots!?!?



commit bd976f380bfc925a3622b92393163f8c53df9079
Author: Jeffrey Stedfast <jestedfa microsoft com>
Date:   Wed Mar 15 21:52:26 2017 -0400

    added more debug spew. why art thou failing on the bots!?!?

 tests/test-mime.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/tests/test-mime.c b/tests/test-mime.c
index e989769..83a4dd5 100644
--- a/tests/test-mime.c
+++ b/tests/test-mime.c
@@ -555,6 +555,8 @@ test_rfc2184 (GMimeParserOptions *options)
        int count;
        size_t n;
        guint i;
+
+       verbose = 4;
        
        for (i = 0; i < G_N_ELEMENTS (rfc2184); i++) {
                params = g_mime_param_list_new ();
@@ -572,7 +574,8 @@ test_rfc2184 (GMimeParserOptions *options)
                testsuite_check ("rfc2184[%u]", i);
                try {
                        if (strcmp (rfc2184[i].encoded, str->str) != 0)
-                               throw (exception_new ("encoded param list does not match: %s", str->str));
+                               throw (exception_new ("encoded param list does not match: \n%s\nvs\n%s",
+                                                     rfc2184[i].encoded, str->str));
                        
                        if (!(params = g_mime_param_list_parse (options, str->str + n + 2)))
                                throw (exception_new ("could not parse encoded param list"));
@@ -609,6 +612,8 @@ test_rfc2184 (GMimeParserOptions *options)
                
                g_string_free (str, TRUE);
        }
+
+       verbose = 1;
 }
 
 


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