summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2020-02-18 16:59:52 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2020-02-18 17:14:14 +0100
commita29c3ff9d2d695bc525c15e33bcdeebf6ff4ccbf (patch)
tree9a7afefaedbf2655929b4793871e314626146712 /tests
parenta0bb129e5a2e8580eb272d9a68ba054e7b170dba (diff)
downloadvala-a29c3ff9d2d695bc525c15e33bcdeebf6ff4ccbf.tar.gz
testrunner: Pass G_DEBUG=fatal-warnings to invalid test
Diffstat (limited to 'tests')
-rwxr-xr-xtests/testrunner.sh2
1 files changed, 1 insertions, 1 deletions
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