Commit f3e4f44c by David Malcolm Committed by David Malcolm

repro_fail: filter out "-ignore SIGHUP" from the spawn lines

contrib/
	* repro_fail: filter out "-ignore SIGHUP" from the spawn lines

From-SVN: r199147
parent 1b14621a
2013-05-21 David Malcolm <dmalcolm@redhat.com>
* repro_fail: filter out "-ignore SIGHUP" from the spawn lines
2013-05-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 2013-05-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config-list.mk (LIST): Add -enable-obsolete for * config-list.mk (LIST): Add -enable-obsolete for
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# #
# Contributed by Diego Novillo <dnovillo@google.com> # Contributed by Diego Novillo <dnovillo@google.com>
# #
# Copyright (C) 2011, 2012 Free Software Foundation, Inc. # Copyright (C) 2011, 2012, 2013 Free Software Foundation, Inc.
# #
# This file is part of GCC. # This file is part of GCC.
# #
...@@ -56,7 +56,9 @@ logf="$2" ...@@ -56,7 +56,9 @@ logf="$2"
shift 2 shift 2
# Find the commands in LOGF that reference PATTERN. # Find the commands in LOGF that reference PATTERN.
lines=$(grep -E "^spawn .*$pattern" $logf | sed -e 's/^spawn //') lines=$(grep -E "^spawn .*$pattern" $logf \
| sed -e 's/^spawn -ignore SIGHUP //' \
| sed -e 's/^spawn //')
if [ -z "$lines" ] ; then if [ -z "$lines" ] ; then
echo "Could not find a spawn command for pattern $pattern" echo "Could not find a spawn command for pattern $pattern"
exit 1 exit 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment