Mercurial > hg > CbC > CbC_gcc
comparison contrib/test_summary @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | 77e2b8dfacca |
children | 84e7813d76e9 |
comparison
equal
deleted
inserted
replaced
65:65488c3d617d | 67:f6334be47118 |
---|---|
1 #! /bin/sh | 1 #! /bin/sh |
2 | 2 |
3 # (C) 1998, 1999, 2000, 2002, 2003, 2004, 2007, 2009 | 3 # (C) 1998, 1999, 2000, 2002, 2003, 2004, 2007, 2009, 2010 |
4 # Free Software Foundation | 4 # Free Software Foundation |
5 # Originally by Alexandre Oliva <oliva@dcc.unicamp.br> | 5 # Originally by Alexandre Oliva <oliva@dcc.unicamp.br> |
6 | 6 |
7 # This script is Free Software, and it can be copied, distributed and | 7 # This script is Free Software, and it can be copied, distributed and |
8 # modified as defined in the GNU General Public License. A copy of | 8 # modified as defined in the GNU General Public License. A copy of |
73 anyfile=false anychange=$forcemail && | 73 anyfile=false anychange=$forcemail && |
74 for file in $files; do | 74 for file in $files; do |
75 [ -f $file ] && | 75 [ -f $file ] && |
76 anyfile=true && | 76 anyfile=true && |
77 { $anychange || | 77 { $anychange || |
78 anychange=`diff -u $file.sent $file 2>/dev/null | | 78 anychange=`diff $file.sent $file 2>/dev/null | |
79 if test ! -f $file.sent || | 79 if test ! -f $file.sent || |
80 egrep '^[-+](XPASS|FAIL)' >/dev/null; then | 80 egrep '^[<>] (XPASS|FAIL)' >/dev/null; then |
81 echo true | 81 echo true |
82 else | 82 else |
83 echo false | 83 echo false |
84 fi | 84 fi |
85 ` | 85 ` |