[vala/staging] testrunner: Pass G_DEBUG=fatal-warnings to invalid test



commit a29c3ff9d2d695bc525c15e33bcdeebf6ff4ccbf
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Feb 18 16:59:52 2020 +0100

    testrunner: Pass G_DEBUG=fatal-warnings to invalid test

 tests/testrunner.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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


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