mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: automake: Adjust test to ignore new gzip warnings.
* gnu/packages/patches/automake-test-gzip-warning.patch: New file. * gnu/packages/autotools.scm (automake)[source]: Use it. * gnu/local.mk (dist_patch_DATA): Add it.
This commit is contained in:
parent
9f44dfc077
commit
28206a8ebf
3 changed files with 20 additions and 1 deletions
17
gnu/packages/patches/automake-test-gzip-warning.patch
Normal file
17
gnu/packages/patches/automake-test-gzip-warning.patch
Normal file
|
@ -0,0 +1,17 @@
|
|||
Adjust test to ignore gzip 1.8+ warnings.
|
||||
|
||||
--- automake-1.15/t/distcheck-no-prefix-or-srcdir-override.sh 2016-06-14 00:36:26.554218552 +0200
|
||||
+++ automake-1.15/t/distcheck-no-prefix-or-srcdir-override.sh 2016-06-14 00:37:52.903157770 +0200
|
||||
@@ -49,7 +49,11 @@ grep "cannot find sources.* in foobar" s
|
||||
|
||||
./configure
|
||||
run_make -E -O distcheck
|
||||
-test ! -s stderr
|
||||
+
|
||||
+# Gzip 1.8+ emits warnings like "gzip: warning: GZIP environment
|
||||
+# variable is deprecated"; filter them out.
|
||||
+test `grep -v '^gzip: warning' stderr | wc -l` -eq 0
|
||||
+
|
||||
# Sanity check: the flags have been actually seen.
|
||||
$PERL -e 'undef $/; $_ = <>; s/ \\\n/ /g; print;' <stdout >t
|
||||
grep '/configure .* --srcdir am-src' t || exit 99
|
Loading…
Add table
Add a link
Reference in a new issue