[kaffe] 1.1.0 on sh3-linux

Helmer Krämer hkraemer at freenet.de
Thu Jun 12 11:37:01 PDT 2003

On Thu, 12 Jun 2003 11:05:59 -0700 (PDT)
Dalibor Topic <robilad at yahoo.com> wrote:


> --- Kiyo Inaba <inaba at src.ricoh.co.jp> wrote:
> > Hi,
> > 
> > As I previously reported, there are two problems for this target made by
> > cross-compiling, but the result is '2 of 136 tests failed'.
> > The failed tests are 'DosTimeVerify.java' and 'ZipTest.java', and skipped one
> > is 'NetworkInterfaceTest.java'. Failed two tests are actually caused by
> > the lack of 'libz' and I think they shall be treated as 'FAIL' rather
> > than 'FAIL'.
> > 
> > Two workaround needed is
> > 1) Modify path for SHELL in test/regression/Makefile, if your shell is
> >    in different directories between build and target environment.
> > 2) Include 'kjc.jar' in BOOTCLASSPATH environment variable, before
> >    invoking 'make check' in test/regression.
> Could you produce a patch for the second item? I'm not sure where to put it in
> TestScript.in or Makefile.am ;)

it's already there, isn't it? The Makefile parses
$(top_builddir)/BUILD_ENVIRONMENT to get the correct
values for BOOTCLASSPATH and CLASSPATH, sets them
and executes the TestScript afterwards. You only get
a problem when you don't have the BUILD_ENVIRONMENT
script or when this script contains the wrong paths
(i.e. because you copied the whole build directory
to the target so that the paths in BUILD_ENVIRONMENT
are no longer correct).


More information about the kaffe mailing list