RFC [icedtea-web] transformation sheet, styles for preview and daily report

Jiri Vanek jvanek at redhat.com
Wed May 18 02:28:11 PDT 2011


On 05/12/2011 03:02 PM, Jiri Vanek wrote:
> 2011-05-10 Jiri Vanek <jvanek at redhat.com>
...snip...
>
> 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.

Regards J.


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
	xml->html transformation.
	* Makefile.am: New variable for report-styles directory;
	($(TESTS_DIR)/$(REPORT_STYLES_DIRNAME)): goal for copying styles and 	
	javascripts; (run-netx-unit-tests): added nonfaling xsltproc
	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...
Name: tests_report.patch
Type: text/x-patch
Size: 11674 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110518/67812cd0/tests_report.patch 


More information about the distro-pkg-dev mailing list