From: Yang Tse Date: Mon, 15 Aug 2011 16:27:59 +0000 (+0200) Subject: unittests: disable unit tests for some autobuild configurations X-Git-Tag: curl-7_22_0~103 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ade87b32c7bcdeebf5d8f737f72d6e9943e735ba;p=thirdparty%2Fcurl.git unittests: disable unit tests for some autobuild configurations IRIX 6.5.24 gcc 3.3 autobuilds fail unittests library compilation due to a problem related with OpenSSL headers and library versions not matching. All AIX autobuilds fails unit tests linking against unittests library due to unittests library being built with no symbols or members. Libtool ? --- diff --git a/configure.ac b/configure.ac index bd63a21c35..830d379b8c 100644 --- a/configure.ac +++ b/configure.ac @@ -314,6 +314,26 @@ if test "x$cross_compiling" != "xno" && supports_unittests=no fi +# IRIX 6.5.24 gcc 3.3 autobuilds fail unittests library compilation due to +# a problem related with OpenSSL headers and library versions not matching. +# Disable unit tests while time to further investigate this is found. +case $host in + mips-sgi-irix6.5) + if test "$compiler_id" = "GNU_C"; then + supports_unittests=no + fi + ;; +esac + +# All AIX autobuilds fails unit tests linking against unittests library +# due to unittests library being built with no symbols or members. Libtool ? +# Disable unit tests while time to further investigate this is found. +case $host_os in + aix*) + supports_unittests=no + ;; +esac + dnl Build unit tests when option --enable-debug is given. if test "x$want_debug" = "xyes" && test "x$supports_unittests" = "xyes"; then