[gtk/wip/otte/css: 49/79] testsuite: Handle warnings in CSS tests
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/css: 49/79] testsuite: Handle warnings in CSS tests
- Date: Fri, 12 Apr 2019 16:07:59 +0000 (UTC)
commit 50b22d12c0d680663d4c929d0a6e2bd4eadba913
Author: Benjamin Otte <otte redhat com>
Date: Tue Apr 9 06:37:32 2019 +0200
testsuite: Handle warnings in CSS tests
testsuite/css/parser/test-css-parser.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/testsuite/css/parser/test-css-parser.c b/testsuite/css/parser/test-css-parser.c
index 311243d369..4fa1281014 100644
--- a/testsuite/css/parser/test-css-parser.c
+++ b/testsuite/css/parser/test-css-parser.c
@@ -151,7 +151,9 @@ parsing_error_cb (GtkCssProvider *provider,
g_free (basename);
if (error->domain == GTK_CSS_PARSER_ERROR)
- append_error_value (errors, GTK_TYPE_CSS_PARSER_ERROR, error->code);
+ append_error_value (errors, GTK_TYPE_CSS_PARSER_ERROR, error->code);
+ else if (error->domain == GTK_CSS_PARSER_WARNING)
+ append_error_value (errors, GTK_TYPE_CSS_PARSER_WARNING, error->code);
else
g_string_append_printf (errors,
"%s %u\n",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]