Hi Francesco, On Tue, 2009-03-31 at 21:25 +0200, Francesco Rundo wrote: > Dear All, > > I'd like to submit an extension of the "genhtml.pl script:. It is well > known that PERL script is useful to parse the output log of "runltp" > in order to generate the corresponding html log. > > I've extended classic "genhtml.pl" script by adding the following features: > > 1) I've added, in the summary, the detailed report of ALL test results > and not only the TFAIL ones. Now, the report (generated by genhtml.pl) > shows the number of executed tests as well as the number of passed > tests or tests with results TFAIL,TCONF,TBROK,TWARN, etc... I think > this detailed summary is more useful; > > 2) I've changed the LTP policy to get the machine architecture and the > kernel version used during the LTP session. If the LTP is run on i386 > based arch the method used till now work fine. But if I cross-build > LTP and then I run LTP on other target architecture -different from > the host- the reported information are often wrong. I've changed the > way to get information by adding new env variables: "KERNEL_VERSION" > and "MACHINE_ARCH". You already use the same policy to get the LTP > version or the LTP start time and so on. In this way, the users which > cross-builds LTP, will be able to get right summary on the html report > by careful setup of that env. variables.
I am really happy that you have liked the way of HTML output and wanted to expand to CROSS-COMPILE environment. Thanks for working in this regard. Can you also please share the HTML reports generated by this new changes: 1) On a normal run, and, 2) Cross-Compile run. Let others review/comment on this till then. I will merge the patch afterwards. Regards-- Subrata > > In attach, please find the patch I've done (with respect to the > ltp-full-20090131). > > Please, let me know. > > Best Regards > -- > Francesco Rundo > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > ------------------------------------------------------------------------------ > _______________________________________________ > Ltp-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ltp-list ------------------------------------------------------------------------------ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
