testsuite: be a bit more verbose

This may help tracking down some failures.
This commit is contained in:
Matthias Clasen 2017-10-18 09:48:34 +08:00
parent 389307eb2c
commit b7098a0ebc
3 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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);