This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] minimal test case for sha-1 and md5


Ranjit Mathew wrote:
> Andreas Tobler wrote:
> 
>>Thanks, I commit the following to main.
>>
>>Andreas
>>
>>2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
>>
>>	PR libgcj/17903:
>>	* testsuite/libjava.lang/md5test.java: New file.
>>	* testsuite/libjava.lang/md5test.out: Likewise.
>>	* testsuite/libjava.lang/shatest.java: Likewise.
>>	* testsuite/libjava.lang/shatest.out: Likewise.
> 
> 
> Hi Andreas,
> 
>   These tests fail for me because I run the testsuite
> without installing the built GCJ:
> -------------------------- 8< --------------------------
> WARNING: could not properly read security provider files:
>          file:///home/ranmath/gcc/lib/security/libgcj.security
>          file:///home/ranmath/gcc/lib/security/classpath.security
>          Falling back to standard GNU security provider
> -------------------------- 8< --------------------------
> 
> "/home/ranmath/gcc" is where the built GCC would have
> been installed had I run "make install".
> 
> I think that is a supported configuration for running
> the testsuite, so is there any way we can tweak stuff
> to make these pass?

Can we please resolve this issue one way or the other?
That is, either remove the printed messages or make the
tests work with a not-yet-installed GCJ?

These tests otherwise contribute 12 FAILs (on i686-pc-linux-gnu)
that create unnecessary noise - precisely the type that
leads people to be a bit sloppy with checking their
patches against Java.

BTW, I also get two other FAILs and 6 XPASSes from Jacks
regularly. The FAILs are 15.21-equal-3 and 9.2-implicit-4.

The latter is supposed to fail compilation but doesn't.
It seems like it used to fail earlier, but for a different
reason altogether. :-/

The former is once again a constant folding and recognition
problem where we say that:

  case ((("1"!="2") == (!("1"=="2"))) ? 2 : 0):

does not have a constant expression.

Thanks,
Ranjit.

-- 
Ranjit Mathew          Email: rmathew AT gmail DOT com

Bangalore, INDIA.      Web: http://ranjitmathew.tripod.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]