jtreg testing integrated

Jonathan Gibbons Jonathan.Gibbons at Sun.COM
Thu May 22 10:17:38 PDT 2008


Mark,

If you're publishing results on a web server, you might be interested  
in some
servlets available in JTHarness.  They may be a little dusty now -- we  
wrote
them in the early days of Tomcat and .jsp files, but they can give you  
a fancy
view of a .jtr file in particular. The're in javatest.jar, in the  
com.sun.javatest.servlets
package. The documentation should hopefully be available in the JT  
Harness online
help.

-- Jon

On May 22, 2008, at 8:20 AM, Mark Wielaard wrote:

> Hi Jon,
>
> On Tue, 2008-05-20 at 08:24 -0700, Jonathan Gibbons wrote:
>> The solution was to provide a utility called "EditLinks" within the
>> JavaTest
>> framework. I assume it is still available within JT Harness. This  
>> is a
>> simple
>> utility for post-processing the links within report files so that you
>> can move
>> report files and work directories around as you choose.
>
> Heay that is pretty neat!
>
> So I just did this in my icedtea6 dir:
> $ for i in hotspot langtools jdk; do java -cp test/jtreg.jar \
>  com.sun.javatest.EditLinks -e `pwd` \
>  http://icedtea.classpath.org/~mjw/jtreg test/$i; done
>
> And uploaded the results:
> http://icedtea.classpath.org/~mjw/jtreg/test/
>
> And indeed the links now work and you can get a html overview of the
> failure lists and correct links to the .jtr files such as:
> http://icedtea.classpath.org/~mjw/jtreg/test/jdk/JTreport/html/failed.html
>
> Great,
>
> Mark
>




More information about the distro-pkg-dev mailing list