selftests/nolibc: add a standalone test report macro
authorZhangjin Wu <falcon@tinylab.org>
Mon, 19 Jun 2023 06:56:22 +0000 (14:56 +0800)
committerWilly Tarreau <w@1wt.eu>
Sun, 6 Aug 2023 10:27:52 +0000 (12:27 +0200)
commit5ef956634bc894ab1145bf7cc8e500063fda614d
tree5bf02d646d94885e504f367601ee99f61825bb77
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
selftests/nolibc: add a standalone test report macro

The run-user, run and rerun targets use the same test report script,
let's add a standalone test report macro for them.

This shrinks code lines and simplify the future maintainability.

Suggested-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/lkml/ZIB792FtG6ibOudp@1wt.eu/
Signed-off-by: Zhangjin Wu <falcon@tinylab.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
tools/testing/selftests/nolibc/Makefile