aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorZhangjin Wu <falcon@tinylab.org>2023-08-05 14:11:02 +0800
committerWilly Tarreau <w@1wt.eu>2023-08-23 05:17:07 +0200
commitce1bb82b1c53585e781e9ec0bf22df23aff104c6 (patch)
tree9fc69928f0628908ac057dbac8be6a897831af4c /tools
parentfaeb4e09fe77262f9a6b2f9f874eec0b6850721e (diff)
downloadlinux-aarch64-ce1bb82b1c53585e781e9ec0bf22df23aff104c6.tar.gz
selftests/nolibc: allow report with existing test log
After the tests finish, it is valuable to report and summarize with existing test log. This avoid rerun or run the tests again when not necessary. Reviewed-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Zhangjin Wu <falcon@tinylab.org> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/nolibc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selftests/nolibc/Makefile
index f7eff081f41fed..56abe044173cb4 100644
--- a/tools/testing/selftests/nolibc/Makefile
+++ b/tools/testing/selftests/nolibc/Makefile
@@ -216,6 +216,10 @@ rerun:
$(Q)qemu-system-$(QEMU_ARCH) -display none -no-reboot -kernel "$(srctree)/$(IMAGE)" -serial stdio $(QEMU_ARGS) > "$(CURDIR)/run.out"
$(Q)$(REPORT) $(CURDIR)/run.out
+# report with existing test log
+report:
+ $(Q)$(REPORT) $(CURDIR)/run.out
+
clean:
$(call QUIET_CLEAN, sysroot)
$(Q)rm -rf sysroot