From: Martin Willi Date: Thu, 8 May 2014 13:14:33 +0000 (+0200) Subject: travis: Perform build tests with -Werror X-Git-Tag: 5.2.0dr6~24^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95e67e8d19011b92b1706b3194bea446ba3e5ced;p=thirdparty%2Fstrongswan.git travis: Perform build tests with -Werror --- diff --git a/scripts/test.sh b/scripts/test.sh index 2c8872ce4a..b70e3c0f4c 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -11,6 +11,8 @@ TARGET=check DEPS="libgmp-dev" +CFLAGS="-g -O2 -Wall -Wno-format -Wno-format-security -Wno-pointer-sign -Werror" + case "$TEST" in default) # should be the default, but lets make sure @@ -69,4 +71,4 @@ CONFIG="$CONFIG --enable-leak-detective=${LEAK_DETECTIVE-no}" echo "$ ./configure $CONFIG && make $TARGET" -./configure $CONFIG && make -j4 $TARGET +CFLAGS="$CFLAGS" ./configure $CONFIG && make -j4 $TARGET