Ping: RFC [icedtea-web] transformation sheet, styles for preview and daily report
jvanek at redhat.com
Tue Jun 14 03:36:25 PDT 2011
-------- Original Message --------
Subject: Re: RFC [icedtea-web] transformation sheet, styles for preview and daily report
Date: Wed, 18 May 2011 11:28:11 +0200
From: Jiri Vanek <jvanek at redhat.com>
To: IcedTea Distro List <distro-pkg-dev at openjdk.java.net>, Dr Andrew John Hughes <ahughes at redhat.com>
On 05/12/2011 03:02 PM, Jiri Vanek wrote:
> 2011-05-10 Jiri Vanek <jvanek at redhat.com>
> If not. Then there is question whether include css+xsl in repository or just kept it locally on torment (for now I believe (-I know :) it is useful for both). Without preview it will be (probably) useful only locally on torment for genertaing html of single output.
> Regards J.
based on http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2011-May/014185.html and http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2011-May/014165.html discussions, refactored patch for report html
Now transformation is handled in make using xsltproc so both xml and html files are available with full content. As generating of html is not crucial, it is marked as '-' so its fail will not break build.
As css and javasccript files will be shared between unit tests and dist test they are still kept separately. Sheet is littlebit modified because xsltproc did not like selfclosed divs (<div/>).
The former question above is still valid, but I'm for have it inside, as it is more comfortable to see "red" and "green" lines instead of looking for them in pure xml.
2011-05-18 Jiri Vanek <jvanek at redhat.com>
* tests/report-styles/index.js: fast navigation functions
* tests/report-styles/report.css: styles for transformed result
* tests/report-styles/jreport.xsl: template for human-readable
* Makefile.am: New variable for report-styles directory;
($(TESTS_DIR)/$(REPORT_STYLES_DIRNAME)): goal for copying styles and
transformation of sheet and unit-tests' xml report to index_unit.html;
(clean-netx-unit-tests): now depends also on clean_tests_reports;
(clean_tests_reports): new goal to remove report styles directory and
indexs html files.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 11676 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110614/2f97f2f1/tests_report.patch
More information about the distro-pkg-dev