sci-mathematics/gfan: disable test that hangs on x86.
authorMichael Orlitzky <mjo@gentoo.org>
Wed, 15 Apr 2020 13:34:01 +0000 (09:34 -0400)
committerMichael Orlitzky <mjo@gentoo.org>
Wed, 15 Apr 2020 13:49:45 +0000 (09:49 -0400)
The "0602ResultantFanProjection" test hangs on x86, leading to a build
failure. Disabling this test looks as simple as deleting it from the
source tree, which the ebuild now does in src_prepare().

Bug: https://bugs.gentoo.org/717112
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
sci-mathematics/gfan/gfan-0.6.2.ebuild

index eac7123f262127d69cb666ca8b2b9b28a73f7286..44e0515500344069ef13b0a0906f8f85e9d35642 100644 (file)
@@ -29,9 +29,20 @@ PATCHES=(
 
 pkg_setup() {
        tc-export CC CXX
+
+       # This should really go in cppflags, but that doesn't work with
+       # gfan's hand-written Makefile.
        append-cxxflags -DNOCDDPREFIX
 }
 
+src_prepare() {
+       default
+
+       # This test hangs on x86, bug 717112.
+       rm -r testsuite/0602ResultantFanProjection || \
+               die "unable to disable test 0602ResultantFanProjection"
+}
+
 src_configure() {
        # The upstream Makefile says that GCC produces bad code with -O3.
        replace-flags "-O3" "-O2"