automake-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-commit] [SCM] GNU Automake branch, master, updated. v1.11-1837


From: Peter Rosin
Subject: [Automake-commit] [SCM] GNU Automake branch, master, updated. v1.11-1837-g9dfdc96
Date: Thu, 09 Feb 2012 09:37:48 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Automake".

http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=9dfdc96a81f384d8cbfb9d87212db1aec0a22d25

The branch, master has been updated
       via  9dfdc96a81f384d8cbfb9d87212db1aec0a22d25 (commit)
      from  e36b1ad1209fc6dc7b7128b5baef6fa44fdb5d1f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9dfdc96a81f384d8cbfb9d87212db1aec0a22d25
Author: Peter Rosin <address@hidden>
Date:   Thu Feb 9 10:25:20 2012 +0100

    tests: check if 'compress' is real or fake
    
    On Cygwin, 'compress' is provided by sharutils and is just a
    dummy script that is not able to actually compress (it can
    only decompress).  This fake 'compress' is not usable for
    our purpose - to create compressed tarballs.
    
    * tests/dist-formats.tap (missing_compressors): Count 'compress'
    as missing if it does not support the -c option.

-----------------------------------------------------------------------

Summary of changes:
 tests/dist-formats.tap |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/tests/dist-formats.tap b/tests/dist-formats.tap
index dd9d896..24d5955 100755
--- a/tests/dist-formats.tap
+++ b/tests/dist-formats.tap
@@ -75,10 +75,18 @@ all_compressors=`
   done | tr "$nl" ' '`
 echo All compressors: $all_compressors
 
-# Assume gzip(1) is available on every reasonable portability target.
 missing_compressors=`
   for c in $all_compressors; do
-    test $c = gzip || $c --version </dev/null >&2 && continue
+    case $c in
+      # Assume gzip(1) is available on every reasonable portability target.
+      gzip)     continue;;
+      # On Cygwin, as of 9/2/2012, 'compress' is provided by sharutils
+      # and is just a dummy script that is not able to actually compress
+      # (it can only decompress).  So, check that the 'compress' program
+      # is actually able to compress input.
+      compress) $c -c </dev/null >/dev/null && continue;;
+      *)        $c --version </dev/null >&2 && continue;;
+    esac
     echo $c
   done | tr "$nl" ' '`
 echo Missing compressors: $missing_compressors


hooks/post-receive
-- 
GNU Automake



reply via email to

[Prev in Thread] Current Thread [Next in Thread]