From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C78FAC04A6A for ; Fri, 4 Aug 2023 15:31:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232161AbjHDPbq (ORCPT ); Fri, 4 Aug 2023 11:31:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231979AbjHDPbZ (ORCPT ); Fri, 4 Aug 2023 11:31:25 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AA39B9; Fri, 4 Aug 2023 08:30:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=t-8ch.de; s=mail; t=1691163053; bh=n62HmNE3akQNdm2oi6fPb5D4Hbn1tXNoatiXKn3ylUc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=K+nzmV/pqyiindTWjfRsKcIM9wGXzo7t2RdAx/B5oHjk65uHK7hSgzjj4UIvmUI/x EQdjpYmfRTM07jZ1HObnLTUhFcC2eVuJ5RYG6j9L4Lkx4laet7jVhjCmMVfq8Yhf1v xLUSbf8Nwu8+hxfc+Qx4s/AMfFBGLc8BQCiSuqhI= Date: Fri, 4 Aug 2023 17:30:52 +0200 From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Zhangjin Wu Cc: w@1wt.eu, arnd@arndb.de, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, tanyuan@tinylab.org Subject: Re: [PATCH v1 1/3] selftests/nolibc: allow report with existing test log Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023-08-03 22:44:47+0800, Zhangjin Wu wrote: > 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. > > Signed-off-by: Zhangjin Wu Reviewed-by: Thomas Weißschuh > --- > tools/testing/selftests/nolibc/Makefile | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selftests/nolibc/Makefile > index 16cc33db54e3..51fef5e6a152 100644 > --- a/tools/testing/selftests/nolibc/Makefile > +++ b/tools/testing/selftests/nolibc/Makefile > @@ -225,6 +225,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 > -- > 2.25.1 >