harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Fedotov <alexei.fedo...@gmail.com>
Subject Re: [build] Help with BTI
Date Tue, 03 Feb 2009 12:03:03 GMT
Using "snapshot" target I was able to run stress tests without re-building
HDK. AFAIK, class library tests are different - they require class sources
to be built (just because some of them check class internals and would not
compile against generic JDK).

On Tue, Feb 3, 2009 at 2:53 PM, Tim Ellison <t.p.ellison@gmail.com> 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
>
>
> Once I have built a snapshot, is there some way to run the build test
> framework's short integrity cycle [1] against it?  The scripts want to
> check out all the JDK source and build it again 8-0
>
> [1] http://harmony.apache.org/subcomponents/buildtest/howto.html#Short
>
> Regards,
> Tim
>
> Alexei Fedotov wrote:
> > Tim, to reuse build results please use "snapshot" target.
> >
> > On Tue, Feb 3, 2009 at 11:12 AM, Tim Ellison <t.p.ellison@gmail.com>
> wrote:
> >
> >> Sean Qiu wrote:
> >>> AFAIK,  we can modify the <BTI>/adaptor/classlib/adaptor.xml,  add
the
> >>> property for setup task.
> >>>
> >>> Index: adaptor.xml
> >>> ===================================================================
> >>> --- adaptor.xml (revision 740179)
> >>> +++ adaptor.xml (working copy)
> >>> @@ -28,6 +28,7 @@
> >>>               inheritAll="false"/>
> >>>          <!-- Use BTI staff to execute Ant Build in new process -->
> >>>          <exec-ant dir="${trunk.dir}" targets="rebuild">
> >>> +            <sysproperty key="use.libstdc++6" value="true"/>
> >>>              <sysproperty key="keep.working" value="true"/>
> >>>              <!-- workaround on classlib-build's
> >> InvocationTargetException
> >>> -->
> >>>              <jvmarg line="-Xmx1000M"/>
> >>>
> >>> I can't find a quick solution without modification, since it is
> >> indirectly
> >>> called.
> >> Yep, that's the solution I came up with too.
> >>
> >> I also tried setting the property in .harmony-classlib.properties but
> >> that didn't work for some reason I've not figured out yet.
> >>
> >>
> >> Incidentally, I had tried to reuse the build results, rather than have
> >> the BTI suite re-checkout and build everything again, i.e. i wanted to
> >> test an existing build.  Again, maybe I'm just not looking in the right
> >> places but I don't see how to achieve that either :-(
> >>
> >> making slow progress...
> >> Tim
> >>
> >>
> >
> >
>



-- 
С уважением,
Алексей Федотов,
ЗАО <<Телеком Экспресс>>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message