* dg-extract-results.sh: Don't use tail -n.
From-SVN: r155655
This commit is contained in:
parent
6a4d4e8a85
commit
5392f6be70
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2010-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* dg-extract-results.sh: Don't use tail -n.
|
||||
|
||||
2009-10-03 H.J. Lu <hongjiu.lu@intel.com>
|
||||
Richard Guenther <rguenther@suse.de>
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# The resulting file can be used with test result comparison scripts for
|
||||
# results from tests that were run in parallel. See usage() below.
|
||||
|
||||
# Copyright (C) 2008, 2009 Free Software Foundation
|
||||
# Copyright (C) 2008, 2009, 2010 Free Software Foundation
|
||||
# Contributed by Janis Johnson <janis187@us.ibm.com>
|
||||
#
|
||||
# This file is part of GCC.
|
||||
|
@ -418,6 +418,6 @@ cat ${TMP}/var-* | $AWK -f $TOTAL_AWK
|
|||
# This is ugly, but if there's version output from the compiler under test
|
||||
# at the end of the file, we want it. The other thing that might be there
|
||||
# is the final summary counts.
|
||||
tail -n 2 $FIRST_SUM | grep -q '^#' || tail -n 2 $FIRST_SUM
|
||||
tail -2 $FIRST_SUM | grep -q '^#' || tail -2 $FIRST_SUM
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Reference in a new issue