[vala/0.36] testrunner: Respect given VALAFLAGS
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.36] testrunner: Respect given VALAFLAGS
- Date: Thu, 8 Jun 2017 11:04:41 +0000 (UTC)
commit f94ca5cfde1dcff3b7f65c54268f0fe0fca8ed45
Author: Marvin W <git larma de>
Date: Tue Apr 11 17:19:58 2017 +0200
testrunner: Respect given VALAFLAGS
https://bugzilla.gnome.org/show_bug.cgi?id=611223
tests/testrunner.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/testrunner.sh b/tests/testrunner.sh
index 618fbf1..c96655c 100755
--- a/tests/testrunner.sh
+++ b/tests/testrunner.sh
@@ -29,7 +29,7 @@ vapidir=$topsrcdir/vapi
export G_DEBUG=fatal_warnings
VALAC=$topbuilddir/compiler/valac$EXEEXT
-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"
@@ -99,7 +99,7 @@ EOF
function sourceend() {
if [ -n "$testpath" ]; then
if [ $INVALIDCODE -eq 1 ]; then
- echo "! $VALAC --vapidir $vapidir -C $SOURCEFILE" > check
+ echo "! $VALAC $VALAFLAGS -C $SOURCEFILE" > check
elif [ $GIRTEST -eq 1 ]; then
if [ $PART -eq 1 ]; then
echo " </namespace>" >> $SOURCEFILE
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]