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-1955


From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, master, updated. v1.11-1955-g4bcab4a
Date: Thu, 16 Feb 2012 12:32:16 +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=4bcab4a0be1fa930be89f1e4b31eb3f98d17f7d0

The branch, master has been updated
       via  4bcab4a0be1fa930be89f1e4b31eb3f98d17f7d0 (commit)
      from  85d414318eddf5ba4f91fe65bdbf4c4e7cdc6e37 (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 4bcab4a0be1fa930be89f1e4b31eb3f98d17f7d0
Author: Stefano Lattarini <address@hidden>
Date:   Thu Feb 16 12:30:23 2012 +0100

    tests: avoid spurious failure on older Cygwin
    
    * tests/tap-signal.tap: Sending a SIGQUIT on Cygwin 1.5 can cause a
    segmentation fault instead (sometimes at least).  Don't let this
    older bug pollute the results of our testsuite.

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

Summary of changes:
 tests/tap-signal.tap |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/tests/tap-signal.tap b/tests/tap-signal.tap
index fb4e9ba..58f8d0c 100755
--- a/tests/tap-signal.tap
+++ b/tests/tap-signal.tap
@@ -71,6 +71,8 @@ $AUTOMAKE
 
 ./configure
 
+system=`uname -s -r || echo unknown` # Needed later.
+
 signal_caught ()
 {
   numeric=$1
@@ -83,7 +85,13 @@ signal_caught ()
     15) symbolic=TERM;;
      *) fatal_ "unexpected signal number '$numeric'"
   esac
-  sig_re="((SIG)?$symbolic|$numeric)"
+  # Sending a SIGQUIT on Cygwin 1.5 can cause a segmentation fault
+  # instead (sometimes).  Don't let this older bug pollute the results
+  # of our testsuite.
+  case $numeric,$system in
+    3,CYGWIN*\ 1.5.*) sig_re="((SIG)?($symbolic|SEGV)|$numeric|11)";;
+    *) sig_re="((SIG)?$symbolic|$numeric)";;
+  esac
   wbound_re="($|[^a-zA-Z0-9_-])"
   pfx_re="^ERROR: signal-$numeric\\.test"
   case $am_tap_implementation in


hooks/post-receive
-- 
GNU Automake



reply via email to

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