dh-speed: Include the get_my_public_value() call in public exponent timing
[strongswan.git] / scripts / test.sh
index 68ad1d6..a43d724 100755 (executable)
@@ -37,11 +37,7 @@ all)
                        --disable-systemd --disable-soup --disable-unwind-backtraces
                        --disable-svc --disable-dbghelp-backtraces --disable-socket-win
                        --disable-kernel-wfp --disable-kernel-iph --disable-winhttp"
-       if test "$MONOLITHIC" = "yes"; then
-               # Ubuntu 12.04 does not provide a proper -liptc pkg-config
-               CONFIG="$CONFIG --disable-forecast --disable-connmark"
-       fi
-       # Ubuntu 12.04 does not provide libtss2-dev
+       # Ubuntu 14.04 does provide a too old libtss2-dev
        CONFIG="$CONFIG --disable-aikpub2 --disable-tss-tss2"
        # not enabled on the build server
        CONFIG="$CONFIG --disable-af-alg"
@@ -76,7 +72,8 @@ win*)
                ;;
        win32)
                CONFIG="--host=i686-w64-mingw32 $CONFIG"
-               DEPS="gcc-mingw-w64-i686 binutils-mingw-w64-i686 mingw-w64-i686-dev $DEPS"
+               # currently only works on 12.04, so use mingw-w64-dev instead of mingw-w64-i686-dev
+               DEPS="gcc-mingw-w64-i686 binutils-mingw-w64-i686 mingw-w64-dev $DEPS"
                CC="i686-w64-mingw32-gcc"
                ;;
        esac
@@ -99,7 +96,7 @@ osx)
        export ACLOCAL_PATH=$BREW_PREFIX/opt/gettext/share/aclocal:$ACLOCAL_PATH
        for pkg in openssl curl
        do
-               PKG_CONFIG_PATH=$BREW_PREFIX/opt/$PKG/lib/pkgconfig:$PKG_CONFIG_PATH
+               PKG_CONFIG_PATH=$BREW_PREFIX/opt/$pkg/lib/pkgconfig:$PKG_CONFIG_PATH
                CPPFLAGS="-I$BREW_PREFIX/opt/$pkg/include $CPPFLAGS"
                LDFLAGS="-L$BREW_PREFIX/opt/$pkg/lib $LDFLAGS"
        done
@@ -163,7 +160,7 @@ apidoc)
 esac
 
 echo "$ make $TARGET"
-make -j4 $TARGET
+make -j4 $TARGET || exit $?
 
 case "$TEST" in
 apidoc)