public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/5] selftests/nolibc: report: print test status
@ 2023-07-06  9:02 Zhangjin Wu
  2023-07-06  9:03 ` [PATCH v1 1/5] selftests/nolibc: report: print a summarized " Zhangjin Wu
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Zhangjin Wu @ 2023-07-06  9:02 UTC (permalink / raw)
  To: w; +Cc: falcon, arnd, linux-kernel, linux-kselftest, thomas

Hi, Willy

As you suggested, the 'status: [success|warning|failure]' info is added
to the summary line, with additional newlines around this line to
extrude the status info. at the same time, the total tests is printed,
the passed, skipped and failed values are aligned with '%03d'.

This patchset is based on 20230705-nolibc-series2 of nolibc repo[1].

The test result looks like:

    ...

    138 test(s): 135 passed, 002 skipped, 001 failed => status: failure

    See all results in /labs/linux-lab/src/linux-stable/tools/testing/selftests/nolibc/run.out

Or:

    ...

    137 test(s): 134 passed, 003 skipped, 000 failed => status: warning

    See all results in /labs/linux-lab/src/linux-stable/tools/testing/selftests/nolibc/run.out

Best regards,
Zhangjin
---
[1]: https://git.kernel.org/pub/scm/linux/kernel/git/wtarreau/nolibc.git

Zhangjin Wu (5):
  selftests/nolibc: report: print a summarized test status
  selftests/nolibc: report: print total tests
  selftests/nolibc: report: align passed, skipped and failed
  selftests/nolibc: report: extrude the test status line
  selftests/nolibc: report: add newline before test failures

 tools/testing/selftests/nolibc/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-07-10  6:33 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-06  9:02 [PATCH v1 0/5] selftests/nolibc: report: print test status Zhangjin Wu
2023-07-06  9:03 ` [PATCH v1 1/5] selftests/nolibc: report: print a summarized " Zhangjin Wu
2023-07-06  9:08 ` [PATCH v1 2/5] selftests/nolibc: report: print total tests Zhangjin Wu
2023-07-06  9:10 ` [PATCH v1 3/5] selftests/nolibc: report: align passed, skipped and failed Zhangjin Wu
2023-07-09  8:51   ` Willy Tarreau
2023-07-09 18:51     ` Zhangjin Wu
2023-07-06  9:11 ` [PATCH v1 4/5] selftests/nolibc: report: extrude the test status line Zhangjin Wu
2023-07-09  8:54   ` Willy Tarreau
2023-07-09 19:26     ` Zhangjin Wu
2023-07-10  6:30       ` Willy Tarreau
2023-07-06  9:12 ` [PATCH v1 5/5] selftests/nolibc: report: add newline before test failures Zhangjin Wu
2023-07-09  8:58 ` [PATCH v1 0/5] selftests/nolibc: report: print test status Willy Tarreau
2023-07-09 19:44   ` Zhangjin Wu
2023-07-10  6:32     ` Willy Tarreau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox