comparison contrib/dg-extract-results.sh @ 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 b7f97abdc517
children 04ced10e8804
comparison
equal deleted inserted replaced
65:65488c3d617d 67:f6334be47118
222 else 222 else
223 VARS="$VARIANTS" 223 VARS="$VARIANTS"
224 VARIANTS="" 224 VARIANTS=""
225 for VAR in $VARS 225 for VAR in $VARS
226 do 226 do
227 grep -q "Running target $VAR" $SUM_FILES && VARIANTS="$VARIANTS $VAR" 227 grep "Running target $VAR" $SUM_FILES > /dev/null && VARIANTS="$VARIANTS $VAR"
228 done 228 done
229 fi 229 fi
230 230
231 # Find out if we have more than one variant, or any at all. 231 # Find out if we have more than one variant, or any at all.
232 232
416 cat ${TMP}/var-* | $AWK -f $TOTAL_AWK 416 cat ${TMP}/var-* | $AWK -f $TOTAL_AWK
417 417
418 # This is ugly, but if there's version output from the compiler under test 418 # This is ugly, but if there's version output from the compiler under test
419 # at the end of the file, we want it. The other thing that might be there 419 # at the end of the file, we want it. The other thing that might be there
420 # is the final summary counts. 420 # is the final summary counts.
421 tail -2 $FIRST_SUM | grep -q '^#' || tail -2 $FIRST_SUM 421 tail -2 $FIRST_SUM | grep '^#' > /dev/null || tail -2 $FIRST_SUM
422 422
423 exit 0 423 exit 0