[epiphany] ephy-snapshot-service-test: Do not succeed when there is an error



commit 18ad3176a09e8bbcf6691d0cf03f64bcb61aba1d
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Fri Feb 26 11:45:32 2016 -0600

    ephy-snapshot-service-test: Do not succeed when there is an error
    
    Seems it's impossible for this test to ever fail? It's printing tons of
    errors, yet still passing. Fix this to ensure the test fails properly.
    
    I haven't investigated why it's failing; we might need to disable it.

 tests/ephy-snapshot-service-test.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/ephy-snapshot-service-test.c b/tests/ephy-snapshot-service-test.c
index cf2aa65..8974a3f 100644
--- a/tests/ephy-snapshot-service-test.c
+++ b/tests/ephy-snapshot-service-test.c
@@ -54,7 +54,7 @@ on_snapshot_ready (GObject *source,
   g_assert (GDK_IS_PIXBUF (pixbuf) || error != NULL);
 
   if (error) {
-    g_print ("Error loading pixbuf: %s\n", error->message);
+    g_warning ("Error loading pixbuf: %s", error->message);
     g_error_free (error);
     quit_when_test_done (NULL, NULL, tests);
     return;


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