[vala/0.34] tests: split VALAFLAGS over multiple lines in testrunner.sh
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.34] tests: split VALAFLAGS over multiple lines in testrunner.sh
- Date: Sun, 19 Nov 2017 09:21:45 +0000 (UTC)
commit af4f384f1b4d6db75c5cad882feb530bca718dfc
Author: Alistair Thomas <astavale yahoo co uk>
Date: Tue Nov 14 11:31:37 2017 +0000
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
tests/testrunner.sh | 20 +++++++++++++++++++-
1 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/tests/testrunner.sh b/tests/testrunner.sh
index ce6cf3e..5c90c25 100755
--- a/tests/testrunner.sh
+++ b/tests/testrunner.sh
@@ -29,7 +29,25 @@ vapidir=$topsrcdir/vapi
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"
+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"
VAPIGEN=$topbuilddir/vapigen/vapigen$EXEEXT
VAPIGENFLAGS="--vapidir $vapidir"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]