Linux Kernel Selftest development
 help / color / mirror / Atom feed
* [PATCH v2 0/3] selftests/nolibc: improve test report support
@ 2023-06-19  6:52 Zhangjin Wu
  2023-06-19  6:56 ` [PATCH v2 1/3] selftests/nolibc: add a standalone test report macro Zhangjin Wu
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Zhangjin Wu @ 2023-06-19  6:52 UTC (permalink / raw)
  To: w; +Cc: arnd, falcon, linux-kernel, linux-kselftest, thomas

Hi, Willy

Here is the v2 of our old patchset about test report [1].

The trailing '\r' fixup has been merged, so, here only resend the left
parts with an additional patch to restore the failed tests print.

This patchset is rebased on the dev.2023.06.14a	branch of linux-rcu [2].

Tests have passed for 'x86 run':

    138 test(s) passed, 0 skipped, 0 failed.
    See all results in /labs/linux-lab/src/linux-stable/tools/testing/selftests/nolibc/run.out

Also did 'run-user' for x86, mips and arm64.

Changes from v1 -> v2:

1. selftests/nolibc: add a standalone test report macro

  As Willy pointed out, the old method with additional test-report
  target not work in 'make -j'.

  A new macro is added to share the same report logic among the
  run-user, run and rerun targets, the path to test log file is 

2. selftests/nolibc: always print the path to test log file

  Always print the path to test log file, but move it to a new line to
  avoid annoying people when the test pass without any failures.

3. selftests/nolibc: restore the failed tests print

  Restore printing of the failed tests to avoid manually opening
  the test log file when there are really failues.

Best regards,
Zhangjin
---
[1]: https://lore.kernel.org/lkml/cover.1685936428.git.falcon@tinylab.org/
[2]: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/

Zhangjin Wu (3):
  selftests/nolibc: add a standalone test report macro
  selftests/nolibc: always print the path to test log file
  selftests/nolibc: restore the failed tests print

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

-- 
2.25.1


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

end of thread, other threads:[~2023-07-03 16:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-19  6:52 [PATCH v2 0/3] selftests/nolibc: improve test report support Zhangjin Wu
2023-06-19  6:56 ` [PATCH v2 1/3] selftests/nolibc: add a standalone test report macro Zhangjin Wu
2023-06-19  6:57 ` [PATCH v2 2/3] selftests/nolibc: always print the path to test log file Zhangjin Wu
2023-06-19  7:01 ` [PATCH v2 3/3] selftests/nolibc: restore the failed tests print Zhangjin Wu
2023-07-02 16:43 ` [PATCH v2 0/3] selftests/nolibc: improve test report support Willy Tarreau
2023-07-03 16:24   ` Zhangjin Wu

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