selftests/nolibc: also count skipped and failed tests in output
authorWilly Tarreau <w@1wt.eu>
Sun, 4 Jun 2023 12:14:27 +0000 (14:14 +0200)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 9 Jun 2023 18:46:10 +0000 (11:46 -0700)
commitfa0df56a804b9b1df6caea7f178771665e46d218
treeae981f111266e701f13ff641851b21ae5613bd6b
parent957bfa31f1d93ba7ea9fda2a401b0f3c79129d5e
selftests/nolibc: also count skipped and failed tests in output

Right now skipped and failed test counts are not reported, and a few
times already we missed skipped ones that ought not to. Let's now
count each category and continue to invite the user to check the
report file when skipped+fail > 0. E.g:

  $ make run-user
    (...)
    CC      nolibc-test
  136 test(s) passed, 2 skipped, 0 failed. See all results in .../run.out

Note that it's important to be careful about the trailing \r on the qemu
output (thanks Zhangjin for noticing).

Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/nolibc/Makefile