gnu: bitcoin: Fix test failure with Python 3.8.
[jackhill/guix/guix.git] / gnu / packages / patches / libtool-skip-tests2.patch
CommitLineData
3314f8a7
LC
1Skip the nopic test on ARM and MIPS systems.
2
3--- libtool-2.4.6/tests/demo.at.orig 2015-01-16 13:52:04.000000000 -0500
4+++ libtool-2.4.6/tests/demo.at 2015-02-16 10:48:51.435851966 -0500
5@@ -510,7 +510,7 @@
6 AT_SETUP([force non-PIC objects])
7
8 AT_CHECK([case $host in
9-hppa*|x86_64*|s390*)
10+hppa*|x86_64*|s390*|arm*|mips*)
11 # These hosts cannot use non-PIC shared libs
12 exit 77 ;;
13 *-solaris*|*-sunos*)
14--- libtool-2.4.6/tests/testsuite.orig 2015-02-15 11:15:25.000000000 -0500
15+++ libtool-2.4.6/tests/testsuite 2015-02-16 10:50:58.736483216 -0500
16@@ -8741,7 +8741,7 @@
17
18 { set +x
19 $as_echo "$at_srcdir/demo.at:535: case \$host in
20-hppa*|x86_64*|s390*)
21+hppa*|x86_64*|s390*|arm*|mips*)
22 # These hosts cannot use non-PIC shared libs
23 exit 77 ;;
24 *-solaris*|*-sunos*)
25@@ -8766,7 +8766,7 @@
26 "
27 at_fn_check_prepare_notrace 'a `...` command substitution' "demo.at:535"
28 ( $at_check_trace; case $host in
29-hppa*|x86_64*|s390*)
30+hppa*|x86_64*|s390*|arm*|mips*)
31 # These hosts cannot use non-PIC shared libs
32 exit 77 ;;
33 *-solaris*|*-sunos*)