[LTP] [RFC PATCH 1/1] lib: Print in summary also tests not run at all
Li Wang
liwang@redhat.com
Wed Feb 2 03:59:20 CET 2022
On Sun, Jan 30, 2022 at 2:43 PM xuyang <xuyang_jy_0410@163.com> wrote:
> Yes,but it still be wrong if we use serval TPASS in sub test case.
>
We can simply avoid that by skipping tst_test->forks_child. But in this case
limited the scope of the "not-run" uses. TBH, I haven't come up with a
perfect
idea to satisfy all situations.
+ if (tst_test->tcnt && !tst_test->forks_child) {
+ fprintf(stderr, "not-run %d\n", (tst_test->tcnt *
test_variants) -
+ results->passed - results->failed -
results->broken -
+ results->skipped -
results->warnings);
+ }
--
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20220202/60e1dbf0/attachment-0001.htm>
More information about the ltp
mailing list