[gtk+] testsuite: be a bit more verbose



commit b7098a0ebcb3be5c4342cca8501fe4bd966e24ce
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Oct 18 09:48:34 2017 +0800

    testsuite: be a bit more verbose
    
    This may help tracking down some failures.

 testsuite/gsk/render-nodes-cairo.test.in  |    2 +-
 testsuite/gsk/render-nodes-vulkan.test.in |    2 +-
 testsuite/gsk/test-render-nodes.c         |    1 +
 3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/testsuite/gsk/render-nodes-cairo.test.in b/testsuite/gsk/render-nodes-cairo.test.in
index 3860baf..28a4f55 100644
--- a/testsuite/gsk/render-nodes-cairo.test.in
+++ b/testsuite/gsk/render-nodes-cairo.test.in
@@ -1,4 +1,4 @@
 [Test]
-Exec=/bin/sh -c "env GSK_RENDERER=cairo @libexecdir@/installed-tests/gtk-4.0/gsk/test-render-nodes --tap -k"
+Exec=/bin/sh -c "env GSK_RENDERER=cairo @libexecdir@/installed-tests/gtk-4.0/gsk/test-render-nodes --tap -k 
--verbose"
 Type=session
 Output=TAP
diff --git a/testsuite/gsk/render-nodes-vulkan.test.in b/testsuite/gsk/render-nodes-vulkan.test.in
index 2c91ecd..d16ba90 100644
--- a/testsuite/gsk/render-nodes-vulkan.test.in
+++ b/testsuite/gsk/render-nodes-vulkan.test.in
@@ -1,4 +1,4 @@
 [Test]
-Exec=/bin/sh -c "env GSK_RENDERER=vulkan @libexecdir@/installed-tests/gtk-4.0/gsk/test-render-nodes --tap -k"
+Exec=/bin/sh -c "env GSK_RENDERER=vulkan @libexecdir@/installed-tests/gtk-4.0/gsk/test-render-nodes --tap -k 
--verbose"
 Type=session
 Output=TAP
diff --git a/testsuite/gsk/test-render-nodes.c b/testsuite/gsk/test-render-nodes.c
index 5a84053..53fc98e 100644
--- a/testsuite/gsk/test-render-nodes.c
+++ b/testsuite/gsk/test-render-nodes.c
@@ -569,6 +569,7 @@ load_node_file (GFile *file, gboolean generate)
       png_file = file_replace_extension (node_file, ".node", ".png");
     }
 
+  g_test_message ("using reference image %s", png_file);
   ref_surface = cairo_image_surface_create_from_png (png_file);
   diff_surface = reftest_compare_surfaces (surface, ref_surface);
 


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