From: Rico Tzschichholz Date: Tue, 18 Feb 2020 15:59:52 +0000 (+0100) Subject: testrunner: Pass G_DEBUG=fatal-warnings to invalid test X-Git-Tag: 0.47.92~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a29c3ff9d2d695bc525c15e33bcdeebf6ff4ccbf;p=thirdparty%2Fvala.git testrunner: Pass G_DEBUG=fatal-warnings to invalid test --- diff --git a/tests/testrunner.sh b/tests/testrunner.sh index bb061af86..d1cc5c78c 100755 --- a/tests/testrunner.sh +++ b/tests/testrunner.sh @@ -116,7 +116,7 @@ function sourceend() { if [ $INVALIDCODE -eq 1 ]; then PACKAGEFLAGS=$([ -z "$PACKAGES" ] || echo $PACKAGES | xargs -n 1 echo -n " --pkg") echo '' > prepare - echo "$VALAC $VALAFLAGS $PACKAGEFLAGS -C $SOURCEFILE" > check + echo "G_DEBUG=fatal-warnings $VALAC $VALAFLAGS $PACKAGEFLAGS -C $SOURCEFILE" > check echo "RET=\$?" >> check echo "if [ \$RET -ne 1 ]; then exit 1; fi" >> check echo "exit 0" >> check