summaryrefslogtreecommitdiff
path: root/tests/testrunner.sh
diff options
context:
space:
mode:
authorAlistair Thomas <astavale@yahoo.co.uk>2017-11-14 11:31:37 +0000
committerRico Tzschichholz <ricotz@ubuntu.com>2017-11-14 14:02:42 +0100
commitb8d0175b2a0b303cbbba90aba9c7e16b749f3387 (patch)
treec1e3837410c66cd22ff3cd41793436d6a6c6957d /tests/testrunner.sh
parent90885883f3bd7bd21c9bd3e8e520343662e61c5b (diff)
downloadvala-b8d0175b2a0b303cbbba90aba9c7e16b749f3387.tar.gz
tests: split VALAFLAGS over multiple lines in testrunner.sh
This improves readability of script and makes it easier for out of tree patches to the script. https://bugzilla.gnome.org/show_bug.cgi?id=790321
Diffstat (limited to 'tests/testrunner.sh')
-rwxr-xr-xtests/testrunner.sh25
1 files changed, 24 insertions, 1 deletions
diff --git a/tests/testrunner.sh b/tests/testrunner.sh
index 4a08c0079..b9982ab2f 100755
--- a/tests/testrunner.sh
+++ b/tests/testrunner.sh
@@ -30,7 +30,30 @@ run_prefix=""
export G_DEBUG=fatal_warnings
VALAC=$topbuilddir/compiler/valac$EXEEXT
-VALAFLAGS="$VALAFLAGS --vapidir $vapidir --disable-warnings --main main --save-temps -X -g -X -O0 -X -pipe -X -lm -X -DGETTEXT_PACKAGE=\"valac\" -X -Werror=return-type -X -Werror=init-self -X -Werror=implicit -X -Werror=sequence-point -X -Werror=return-type -X -Werror=uninitialized -X -Werror=pointer-arith -X -Werror=int-to-pointer-cast -X -Werror=pointer-to-int-cast -X -Wformat -X -Werror=format-security -X -Werror=format-nonliteral -X -Werror=redundant-decls -X -Werror=int-conversion"
+VALAFLAGS="$VALAFLAGS \
+ --vapidir $vapidir \
+ --disable-warnings \
+ --main main \
+ --save-temps \
+ -X -g \
+ -X -O0 \
+ -X -pipe \
+ -X -lm \
+ -X -DGETTEXT_PACKAGE=\"valac\" \
+ -X -Werror=return-type \
+ -X -Werror=init-self \
+ -X -Werror=implicit \
+ -X -Werror=sequence-point \
+ -X -Werror=return-type \
+ -X -Werror=uninitialized \
+ -X -Werror=pointer-arith \
+ -X -Werror=int-to-pointer-cast \
+ -X -Werror=pointer-to-int-cast \
+ -X -Wformat \
+ -X -Werror=format-security \
+ -X -Werror=format-nonliteral \
+ -X -Werror=redundant-decls \
+ -X -Werror=int-conversion"
VAPIGEN=$topbuilddir/vapigen/vapigen$EXEEXT
VAPIGENFLAGS="--vapidir $vapidir"