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



commit 36c2f99f35f92f45730d7dbdfe8391605ccf214b
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Jan 7 19:59:47 2018 +0100

    valadoc/tests: split VALAFLAGS over multiple lines in testrunner.sh

 valadoc/tests/testrunner.sh |   33 ++++++++++++++++++++++++++++++++-
 1 files changed, 32 insertions(+), 1 deletions(-)
---
diff --git a/valadoc/tests/testrunner.sh b/valadoc/tests/testrunner.sh
index 842082d..3d3bc4c 100755
--- a/valadoc/tests/testrunner.sh
+++ b/valadoc/tests/testrunner.sh
@@ -30,7 +30,38 @@ export PKG_CONFIG_PATH=$topbuilddir/libvaladoc
 export LD_LIBRARY_PATH=$topbuilddir/vala/.libs:$topbuilddir/libvaladoc/.libs
 
 VALAC=$topbuilddir/compiler/valac$EXEEXT
-VALAFLAGS="-X -D -X TOP_SRC_DIR=\"$topsrcdir\" --vapidir $vapidir --pkg libgvc --vapidir $topsrcdir/vala 
--pkg libvala$PACKAGE_SUFFIX --vapidir $topsrcdir/libvaladoc --pkg valadoc$PACKAGE_SUFFIX --disable-warnings 
--main main --save-temps -X -g -X -O0 -X -pipe -X -lm -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 -X 
-L$topbuilddir/vala/.libs -X -lvala$PACKAGE_SUFFIX -X -L$topbuilddir/libvaladoc/.libs -X 
-lvaladoc$PACKAGE_SUFFIX -X -I$topsrcdir/gee -X -I$topsrcdir/vala -X -I$topsrcdir/libvaladoc 
$topsrcdir/valadoc/tests/libvaladoc/parser/generic-scanner.vala"
+VALAFLAGS="$VALAFLAGS \
+       -X -D -X TOP_SRC_DIR=\"$topsrcdir\" \
+       --vapidir $vapidir --pkg libgvc \
+       --vapidir $topsrcdir/vala --pkg libvala$PACKAGE_SUFFIX \
+       --vapidir $topsrcdir/libvaladoc --pkg valadoc$PACKAGE_SUFFIX \
+       --disable-warnings \
+       --main main \
+       --save-temps \
+       -X -g \
+       -X -O0 \
+       -X -pipe \
+       -X -lm \
+       -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 \
+       -X -L$topbuilddir/vala/.libs -X -lvala$PACKAGE_SUFFIX \
+       -X -L$topbuilddir/libvaladoc/.libs -X -lvaladoc$PACKAGE_SUFFIX \
+       -X -I$topsrcdir/gee \
+       -X -I$topsrcdir/vala \
+       -X -I$topsrcdir/libvaladoc \
+       $topsrcdir/valadoc/tests/libvaladoc/parser/generic-scanner.vala"
 
 
 # Incorporate the user's CFLAGS. Matters if the user decided to insert


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