summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-04 14:01:22 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-04 14:01:22 +0000
commit80adfc2d4350ff1251ccb9b700a0b4a032f9a8cc (patch)
treee58f12302bd24ab6edf6ea15ae3242e5b272abc0 /contrib
parentcbc39d5b2c70f1a1f882d7e0220f576fa1c01700 (diff)
downloadgcc-80adfc2d4350ff1251ccb9b700a0b4a032f9a8cc.tar.gz
libjava/classpath:
* scripts/check_jni_methods.sh.in: Don't use diff -U. Adapt grep regex, ignore file and problem message. contrib: * test_summary: Don't use diff -u. Adapt egrep regex. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160264 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog5
-rwxr-xr-xcontrib/test_summary6
2 files changed, 8 insertions, 3 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index ee039071bf1..f03daf82766 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,8 @@
+2010-06-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * test_summary: Don't use diff -u.
+ Adapt egrep regex.
+
2010-06-02 Andrew Haley <aph@redhat.com>
* download_prerequisites: New script.
diff --git a/contrib/test_summary b/contrib/test_summary
index c4b3c2c9369..5fc49f52bda 100755
--- a/contrib/test_summary
+++ b/contrib/test_summary
@@ -1,6 +1,6 @@
#! /bin/sh
-# (C) 1998, 1999, 2000, 2002, 2003, 2004, 2007, 2009
+# (C) 1998, 1999, 2000, 2002, 2003, 2004, 2007, 2009, 2010
# Free Software Foundation
# Originally by Alexandre Oliva <oliva@dcc.unicamp.br>
@@ -75,9 +75,9 @@ for file in $files; do
[ -f $file ] &&
anyfile=true &&
{ $anychange ||
- anychange=`diff -u $file.sent $file 2>/dev/null |
+ anychange=`diff $file.sent $file 2>/dev/null |
if test ! -f $file.sent ||
- egrep '^[-+](XPASS|FAIL)' >/dev/null; then
+ egrep '^[<>] (XPASS|FAIL)' >/dev/null; then
echo true
else
echo false