Fix the statistical number of results in the html
Hi,
Quoted 9 lines
Hi,
Quoted 6 lines
From: wangkaiyuan <[email protected]>
According to the statistical method of ltp-pan on TFAIL TBROK TCONF TPASS..., the statistical method of the ltp test result type in genhtml.pl is modified to ensure that the .log format of the ltp result is consistent with the test result in the .html format.
Quoted 4 lines
Quoted 3 lines
The original statistical method policy expression "/\ TFAIL\ /" in the original genhtml.pl for the test result type cannot match the "TFAIL:" in the normal test result, causing problems in the
This could be fixed with :?, right?
First of all, the regular expression matching error causes the html result to be inconsistent with the log result. If only the regular expression is modified, it will cause multiple test results for one test item.For example, if TPSS/TCONF appears in the same test item, the test item will be counted twice, TPSS&TCONF, this is unreasonable, and the statistical logic in genhtml.pl is flawed
Kind regards,
wangkaiyuan
Quoted 8 lines
Quoted 4 lines
calculation result. At the same time, the statistical method in genhtml.pl cannot guarantee that each test item has only one test result, because the output of a test item may include TFAIL, TCONF, and TPASS at the same time.
That's a valid input.
Quoted 2 lines
Signed-off-by wangkaiyuan <[email protected]>Chunsing.dey <[email protected]>
Quoted 7 lines
nit: both should have Signed-off-by:, you can also use Co-developed-by:
for the second developer.nit: there are whitespace errors in the patch.
I do not dare to review it as I've never used the tool.
FYI ltp-pan is deprecated, you can try to use runltp-ng [1] which we'd
like to
Quoted 6 lines
bring to LTP upstream (to replace ltp-pan and runltp).
Kind regards,
Petr
Signature · 2 lines
-- Mailing list info: https://lists.linux.it/listinfo/ltp