harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hindess <mark.hind...@googlemail.com>
Subject Re: [vm-kernel][testing] Where to put VM-agnostic tests for kernel classes?
Date Fri, 07 Jul 2006 10:07:25 GMT

On 7 July 2006 at 10:50, Mark Hindess <mark.hindess@googlemail.com> wrote:
> 
> On 7 July 2006 at 16:18, "Vladimir Gorr" <vvgorr@gmail.com> wrote:
> > 
> > On 7/7/06, Mark Hindess <mark.hindess@googlemail.com> wrote:
> > >
> > >
> > > On 7 July 2006 at 12:55, "Alexey Varlamov" <alexey.v.varlamov@gmail.com>
> > > wrote:
> > > >
> > > > I know the topic of test layouts is too popular here, but let me
> > > > offer some more grounds :)
> > > >
> > > > I think classlib tests should include a suite for VM-independent
> > > > kernel tests, like recently created testcases in H-765 and
> > > > H-721. The latter has gone to drlvm/vm/tests/smoke suite, which
> > > > also has a number of good candidates for moving to a common place.
> > > >
> > > > I see classlib/luni-kernel as the most natural location for now,
> > > > but maybe it worths a separate module altogether?
> > >
> > > Yes.  I think tests that should pass on any VM's kernel
> > > classes should live in the classlib modules (luni-kernel or
> > > security-kernel).
> > 
> > Agree. However we should have the possibility to run the class library
> > tests against any VM.
> >
> > AFAIK we cannot provide this thing right now (java launcher requests
> > the clearvm library).
> >
> > All class library tests are run under J9 as default VM. I'd be not
> > bad to start running these tests against DRLVM as well. Otherwise the
> > tests for the JIRA issues mentioned in this thread will be useless if
> > we put them on the class lib modules. Correct?
> 
> Well, I'm hoping someone will look at getting drlvm working under
> the launcher - so that there is more chance that people will run the
> classlib tests with something other than the IBM VME.  However, in the
> meantime, I am running them on linux with:
> 
>   DRL=/path/to/drlvm/build/lnx_ia32_gcc_debug/deploy/jre
>   ln -s $DRL/bin/ij $DRL/bin/java
>   LD_LIBRARY_PATH=$DRL/bin ant -Dtest.jre.home=$DRL test
> 
> under linux, and I'm sure you can do something similar under windows.
> 
> Sadly lots of tests fail and some hang.  I've not really had chance to
> investigate.

I've put the result of a recent test run at:

  http://people.apache.org/~hindessm/drlvm/test/20060706/

the tests hung at tests.api.java.lang.CompilerTest and I killed junit 
so subsequent luni tests were not run.

Regards,
 Mark.



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message