]> granicus.if.org Git - curl/commitdiff
unittests: disable unit tests for some autobuild configurations
authorYang Tse <yangsita@gmail.com>
Mon, 15 Aug 2011 16:27:59 +0000 (18:27 +0200)
committerYang Tse <yangsita@gmail.com>
Mon, 15 Aug 2011 16:30:21 +0000 (18:30 +0200)
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 ?

configure.ac

index bd63a21c3527efc715ce696b627e6d6bf618ca39..830d379b8c067dbd3f1a77796271c6632e5cbb2e 100644 (file)
@@ -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