[vala/staging: 3/4] tests: Warnings and criticals should be fatal on compile time too



commit c5c30e1f9fcd79299df739dda807f6e8b8f513c4
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Dec 16 20:14:53 2018 +0100

    tests: Warnings and criticals should be fatal on compile time too

 tests/girwriter/Makefile.am   | 2 +-
 tests/gtktemplate/Makefile.am | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/girwriter/Makefile.am b/tests/girwriter/Makefile.am
index 7f7a0e048..9adfe679e 100644
--- a/tests/girwriter/Makefile.am
+++ b/tests/girwriter/Makefile.am
@@ -1,7 +1,7 @@
 NULL =
 
 check-girwriter: $(top_builddir)/compiler/valac
-       $(top_builddir)/compiler/valac \
+       G_DEBUG=fatal-warnings $(top_builddir)/compiler/valac \
                -C \
                --disable-version-header \
                --vapidir $(top_srcdir)/vapi \
diff --git a/tests/gtktemplate/Makefile.am b/tests/gtktemplate/Makefile.am
index 05dfd84eb..6cd454e9d 100644
--- a/tests/gtktemplate/Makefile.am
+++ b/tests/gtktemplate/Makefile.am
@@ -1,7 +1,7 @@
 NULL =
 
 check-gtktemplate: $(top_builddir)/compiler/valac
-       $(top_builddir)/compiler/valac \
+       G_DEBUG=fatal-warnings $(top_builddir)/compiler/valac \
                -C \
                --vapidir $(top_srcdir)/vapi \
                --pkg gtk+-3.0 \


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