net-libs/libssh: disable tests that take too long and timeout
authorMichael Palimaka <kensington@gentoo.org>
Sat, 13 Apr 2019 03:29:23 +0000 (13:29 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Sat, 13 Apr 2019 03:29:33 +0000 (13:29 +1000)
Closes: https://bugs.gentoo.org/677006
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Michael Palimaka <kensington@gentoo.org>
net-libs/libssh/libssh-0.8.7.ebuild
net-libs/libssh/libssh-9999.ebuild

index 4a55b7bbf1e76743cf99c89baf62c75317809e7a..a2353f90c6bd911de9a88f2881376b15f48ac36a 100644 (file)
@@ -59,6 +59,14 @@ src_prepare() {
        sed -i \
                -e '/torture_keyfiles/d' \
                tests/unittests/CMakeLists.txt || die
+
+       # disable tests that take too long (bug #677006)
+       if use sparc; then
+               sed -i \
+                       -e '/torture_threads_pki_rsa/d' \
+                       -e '/torture_pki_dsa/d' \
+                       tests/unittests/CMakeLists.txt || die
+       fi
 }
 
 multilib_src_configure() {
index 5137fc6f8d22d8f4d2a4ba1f268341501845fcea..d88693448ce538dea65fd1fb8e5572b15b5c75b3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -57,6 +57,14 @@ src_prepare() {
        sed -i \
                -e '/torture_keyfiles/d' \
                tests/unittests/CMakeLists.txt || die
+
+       # disable tests that take too long (bug #677006)
+       if use sparc; then
+               sed -i \
+                       -e '/torture_threads_pki_rsa/d' \
+                       -e '/torture_pki_dsa/d' \
+                       tests/unittests/CMakeLists.txt || die
+       fi
 }
 
 multilib_src_configure() {