ClassGC test failing to compile

Date view Thread view Subject view Author view

From: Archie Cobbs (archie@whistle.com)
Date: Mon Dec 21 1998 - 03:47:58 EST


Regarding the tests that are failing to compile..
Can we just do this? It seems to fix the problem for me..

Index: TestScript
===================================================================
RCS file: /home/cvspublic/kaffe/test/regression/TestScript,v
retrieving revision 1.40
diff -u -r1.40 TestScript
--- TestScript 1998/12/20 01:06:12 1.40
+++ TestScript 1998/12/21 08:47:05
@@ -34,8 +34,9 @@
 
 compile()
 {
+ FILES=`echo $* | awk '{ for (i = 1; i <= NF; i++) printf "%s.java ", $i }'`
         echo ERROR > $RESULT
- $JAVAC -d $DESTDIR $1.java > $RESULT 2>&1
+ $JAVAC -d $DESTDIR ${FILES} > $RESULT 2>&1
         if test "`cat $RESULT`" != "" ; then
                 echo "error compiling"
                 cat $RESULT
@@ -89,7 +90,7 @@
         echo_n_sp "$1 ..." 1>&2
         if test "x$3" = "xdeprecated"; then
             compile_deprecated $1
- else
+ elif test "x$3" != "xnocompile"; then
             compile $1
         fi
         if test $error = 0 ; then
@@ -559,9 +560,8 @@
 # end of CLTest tests
 
 # begin of class garbage collection tests
-compile ClassGCTest
-compile ClassGCTestLater
-runtest ClassGC "Success."
+compile ClassGC ClassGCTest ClassGCTestLater
+runtest ClassGC "Success." nocompile
 
 # end of class garbage collection tests
 

-Archie

___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:26 EDT