[vala/0.36] tests: split VALAFLAGS over multiple lines in testrunner.sh



commit 2780246f380ef3ce505a7e97375861607a0f36e4
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 |   25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 deletions(-)
---
diff --git a/tests/testrunner.sh b/tests/testrunner.sh
index 36c8728..3988e63 100755
--- a/tests/testrunner.sh
+++ b/tests/testrunner.sh
@@ -29,7 +29,30 @@ 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 -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"
 


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