testsuite: Don't die on the first error

Continue running the test, just mark it as a failure.
This commit is contained in:
Benjamin Otte 2019-05-09 15:13:03 +02:00
parent 3a373b9b33
commit 63578d832a

View 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);
}