testsuite: Don't die on the first error
authorBenjamin Otte <otte@redhat.com>
Thu, 9 May 2019 13:13:03 +0000 (15:13 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 12 May 2019 15:27:01 +0000 (17:27 +0200)
Continue running the test, just mark it as a failure.

testsuite/gsk/compare-render.c

index 6c868849a9db4ecb8f7ae7eed0bfdd6af12f5617..92691c8b3423efd374574b0c40e7d08bc59bc301 100644 (file)
@@ -61,7 +61,8 @@ deserialize_error_func (const GtkCssSection *section,
 {
   char *section_str = gtk_css_section_to_string (section);
 
-  g_error ("Error at %s: %s", section_str, error->message);
+  g_test_message ("Error at %s: %s", section_str, error->message);
+  g_test_fail ();
 
   free (section_str);
 }