From: Zhangjin Wu Date: Sat, 5 Aug 2023 06:11:02 +0000 (+0800) Subject: selftests/nolibc: allow report with existing test log X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ce1bb82b1c53585e781e9ec0bf22df23aff104c6;p=linux.git 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 Signed-off-by: Zhangjin Wu Signed-off-by: Willy Tarreau --- diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selftests/nolibc/Makefile index f7eff081f41fe..56abe044173cb 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