diff options
author | Zhangjin Wu <falcon@tinylab.org> | 2023-08-05 14:11:02 +0800 |
---|---|---|
committer | Willy Tarreau <w@1wt.eu> | 2023-08-23 05:17:07 +0200 |
commit | ce1bb82b1c53585e781e9ec0bf22df23aff104c6 (patch) | |
tree | 9fc69928f0628908ac057dbac8be6a897831af4c /tools | |
parent | faeb4e09fe77262f9a6b2f9f874eec0b6850721e (diff) | |
download | lwn-ce1bb82b1c53585e781e9ec0bf22df23aff104c6.tar.gz lwn-ce1bb82b1c53585e781e9ec0bf22df23aff104c6.zip |
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/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selftests/nolibc/Makefile index f7eff081f41f..56abe044173c 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 |