harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [build] Help with BTI
Date Tue, 03 Feb 2009 16:51:38 GMT
Alexei Fedotov wrote:
> Tim,
> You wrote:
>> With the classlib code, you can run the tests against any JRE using...
>> cd working_classlib
>> ant -Dtest.jre.home=$WORKSPACE/harmony/target/hdk/jdk/jre test
> The tests run only after they are built ("compile-tests")  and class
> library module is built ("build"). The class library is used solely
> for building tests, the tests run after the proper build specified at
> test.jre.home.
> http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/archive/build.xml?view=markup:
> <target name="-test-module" depends="build, compile-tests,
> prepare-exclude, run-tests" />
> This means you cannot skip the build step for class library tests.
> This is different from stress tests. So there is nothing we can do
> from the buildtest here, the problem is in the class lbrary build
> system.
> Well, I'm not quite sure I've got your question correctly.

Yes, you are right.  The classlib tests need to be compiled against the
implementation.  It would be good if we packaged the compiled tests into
the HDK so that they were reusable without having to do the checkout and
compile again.


View raw message