aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2017-07-19 12:34:35 +0200
committerTobias Brunner <tobias@strongswan.org>2017-07-28 11:18:17 +0200
commit6eb7dd11ecf6c713f9d31bf3799635475bd77ecf (patch)
treea6945362d1f4729dbd295b511191fc08defc26d8 /scripts
parent8d4ebb3ac421d415c140537265666d76f9d4f6d1 (diff)
downloadstrongswan-6eb7dd11ecf6c713f9d31bf3799635475bd77ecf.tar.bz2
strongswan-6eb7dd11ecf6c713f9d31bf3799635475bd77ecf.tar.xz
appveyor: Run tests on AppVeyor Windows containers
We can't enable leak detective as it is so slow then that we run into a timeout (60 minutes).
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/test.sh b/scripts/test.sh
index 22e74033e..238102f32 100755
--- a/scripts/test.sh
+++ b/scripts/test.sh
@@ -64,8 +64,10 @@ win*)
--enable-tnccs-20 --enable-imc-attestation --enable-imv-attestation
--enable-imc-os --enable-imv-os --enable-tnc-imv --enable-tnc-imc
--enable-pki --enable-swanctl --enable-socket-win"
- # no make check for Windows binaries
- TARGET=
+ # no make check for Windows binaries unless we run on a windows host
+ if test "$APPVEYOR" != "True"; then
+ TARGET=
+ fi
CFLAGS="$CFLAGS -mno-ms-bitfields"
DEPS="gcc-mingw-w64-base"
case "$TEST" in
@@ -76,7 +78,7 @@ win*)
DEPS="gcc-mingw-w64-x86-64 binutils-mingw-w64-x86-64 mingw-w64-x86-64-dev $DEPS"
CC="x86_64-w64-mingw32-gcc"
# apply patch to MinGW headers
- if test -z "$1"; then
+ if test "$APPVEYOR" != "True" -a -z "$1"; then
sudo patch -f -p 4 -d /usr/share/mingw-w64/include < src/libcharon/plugins/kernel_wfp/mingw-w64-4.8.1.diff
fi
;;