tester .cvsignore,1.3,1.4 gcj.test,1.4,1.5

Daniel Bonniot <[email protected]> Thu, 02 Jun 2005 10:27:35 +0000
Newsgroups gmane.comp.lang.nice.cvs
Message-ID <[email protected]>
Update of /cvsroot/nice/tester
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1498

Modified Files:
	.cvsignore gcj.test 
Log Message:
Keep track of changes in the number of gcj errors

Index: .cvsignore
===================================================================
RCS file: /cvsroot/nice/tester/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** .cvsignore	7 May 2004 08:58:03 -0000	1.3
--- .cvsignore	2 Jun 2005 10:27:33 -0000	1.4
***************
*** 5,6 ****
--- 5,8 ----
  *.metrics
  benchs
+ gcj.num
+ gcj.out.*

Index: gcj.test
===================================================================
RCS file: /cvsroot/nice/tester/gcj.test,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** gcj.test	1 Apr 2005 15:09:16 -0000	1.4
--- gcj.test	2 Jun 2005 10:27:33 -0000	1.5
***************
*** 16,19 ****
--- 16,28 ----
  NUM=`expr "$NUM" : "$NUM_PREFIX"'\(.*\)'`
  
+ # Give a warning if we could not find the number of errors
+ [ ! $NUM ] && exit 3
+ 
+ if [ $NUM != "`cat ../../gcj.num`" ]; then
+   echo "GCJ errors changed from `cat ../../gcj.num` to $NUM"
+   echo $NUM > ../../gcj.num
+   cp -a OUT ../../gcj.out.`date '+%F'`
+ fi
+ 
  # Number of errors is encoded as 10+number (since smaller numbers have
  # other meanings)



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005