jtreg testing integrated
Jonathan.Gibbons at Sun.COM
Tue May 20 08:24:09 PDT 2008
On May 20, 2008, at 6:00 AM, Martin Buchholz wrote:
> My (unavailable) diff-javatest script had to contend with absolute
> paths in the html in the report directory as well. It made paths
> relative by removing root dirs. It would be good if javatest's output
> was made more "portable" in this sense. It's hard, because you
> really do want direct pointers to failing tests and .jtr files, and
> their location relative to the report directory cannot in general
> be relativized.
In times past, we tried to resolve the "report" problem you describe
within JavaTest. We actually tried use relative pointers where possible.
The problem was that every solution we came up with broke someone's
use case. A particularly notable problem was people running tests on
one system and then moving results around to another system.
The solution was to provide a utility called "EditLinks" within the
framework. I assume it is still available within JT Harness. This is a
utility for post-processing the links within report files so that you
report files and work directories around as you choose.
[ Another possibility in the JT Harness space is that it now has a
configurable report generator. Perhaps the time has come to look again
at the relationship between the work and report directories. JT Harness
lives at http://jtharness.dev.java.net with a mailing list at
interest at jtharness.dev.java.net. ]
More information about the distro-pkg-dev