From 03e7508d7dfd28e9f385bb82e16056ed5da5e6d2 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Mon, 27 Nov 2017 12:55:28 +0100 Subject: [PATCH] tests: Invalid Code needs to be recoginized explicitly by an compiler error Running with G_DEBUG=fatal-warnings makes those fail to easily, so only pass it to positive test-cases. --- tests/testrunner.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/testrunner.sh b/tests/testrunner.sh index b9982ab2f..7e0fef939 100755 --- a/tests/testrunner.sh +++ b/tests/testrunner.sh @@ -27,8 +27,6 @@ topsrcdir=$srcdir/.. vapidir=$topsrcdir/vapi run_prefix="" -export G_DEBUG=fatal_warnings - VALAC=$topbuilddir/compiler/valac$EXEEXT VALAFLAGS="$VALAFLAGS \ --vapidir $vapidir \ @@ -172,7 +170,7 @@ for testfile in "$@"; do cat "$srcdir/$testfile" >> $SOURCEFILE echo "}" >> $SOURCEFILE - echo "./test$EXEEXT /$testpath" > check + echo "G_DEBUG=fatal-warnings ./test$EXEEXT /$testpath" > check ;; *.test) PART=0 -- 2.47.3