Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8209513rwp; Wed, 19 Jul 2023 06:51:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlEa6/XkjOxfkMlVCijTbt/rHMtMnLn+XGKcaDZhb1J8hqGfzsVEO55sPNPCxwYMlkCQm5Fg X-Received: by 2002:a17:902:a705:b0:1b8:88ae:811e with SMTP id w5-20020a170902a70500b001b888ae811emr2018085plq.29.1689774667252; Wed, 19 Jul 2023 06:51:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689774667; cv=none; d=google.com; s=arc-20160816; b=MUQhTFovPxZe4gt///qi4nWeU1pLqggtSHAR5CvE0qJib20DhbUOcVVEn+oQI3HKtC 2aHCA/CmIQXJNAoRvOmqdWaWABvLpod8622mg5lntfWLE5gh6qCoFLFGEYJCHdwu0Owi pUVblUUCT0jq9yymnmeo6oU15qcJssR4p7VeCiktwq5R5dMfD9IVSroif36Do1yABNYc 6NdZeDfrxDcLzYf4VidcHpbewNNaakk01vBF6MbEJXc4c+uRw8YCkX4KdHN9ATAJ0teA lPY61+ysk6rcbwi3BFIUNlFuF+YkgSDsS7nmh8SGB+0H4Sqag61fr29u9PWrmHqtwtZa ealA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=3kU3i88BWAAszwXKvztNP9mh6D+7gLT8035uvyB0kUk=; fh=LUnDCxFG3oyWlcYTkiNww5x4+0V5pkm51/GfDl61ZDU=; b=g9AETppcY13J/zAk8LoG4rrnXHBqv3F9bGH9BdshRgSJ0NgM72FlrsdaN3gtNq6jBi Zsvh3r/GBx7fl9hTnNFsXIN23vRTBLmwsZt+7Vka7j7jxsMB6u8oR0dv6GZVIPuDXjmD 499d8ap4m/7w8eCY+SWgTRQWWhSYjf/pzcjqoJ+iUxQaaWgOz96Ku1SzLFKF+Hcg0b6C s/joIP+8G1jhM7kwpREr9ZA+lild/P6FKq1VnSg1G4ARGHDtMPhWi/kEzEHyk+D5xP+7 1VlWHp4g7f0YxZzgv6e7QAWyUUwnYTEBTaa6LtXhA3r3hzL3M8DcpOvJpkn0k8b6/qds wd3w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u4-20020a170902e5c400b001bb3499d8e5si3714284plf.413.2023.07.19.06.50.53; Wed, 19 Jul 2023 06:51:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229935AbjGSNSV (ORCPT + 99 others); Wed, 19 Jul 2023 09:18:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230155AbjGSNSR (ORCPT ); Wed, 19 Jul 2023 09:18:17 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.155.65.254]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AC25FD; Wed, 19 Jul 2023 06:18:15 -0700 (PDT) X-QQ-mid: bizesmtp68t1689772685tf75yw6o Received: from linux-lab-host.localdomain ( [119.123.130.39]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 19 Jul 2023 21:18:03 +0800 (CST) X-QQ-SSF: 01200000000000D0X000000A0000000 X-QQ-FEAT: 3M0okmaRx3grmu9MUHFbrrVNG0WzcH6N1ULMpWmAsKbuISmAuO5FAvE/jYi3P g7qSYNWjT9UXfSwx9OmnfYAddtleSX7TeZNg2ORN61CD9vys8r+n1tdunweA/xhXZVtMuvp U9DxcXQRsoxsGxKnUWmgXrvFuivUcMIc0pGXuis/bMfH3XPgmAjDUI+ZfdbTdY5SgFDxxjw ik3x7NFvu30HEZJepW78xk3Z2zb6o4f63p2olvK0VtT4/fUAHmnuYGq7YFJGiBpIt+my94X m36EH+4uzoHfnkOufpeYEKqEyj55Yhi7F6k1SAhZdKwbbbCyWcwqR7dm9PrbgolksZDjNca M0zp1eRc0qukXPHuAQCNJq2rz5CtJe0AgXa7GMrgb+wEPLZhQ0LXI0wBKnaiQ== X-QQ-GoodBg: 0 X-BIZMAIL-ID: 5670957446620679484 From: Zhangjin Wu To: w@1wt.eu Cc: thomas@t-8ch.de, arnd@arndb.de, falcon@tinylab.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: [PATCH v2 01/14] selftests/nolibc: allow report with existing test log Date: Wed, 19 Jul 2023 21:17:59 +0800 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvrgz:qybglogicsvrgz5a-1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 ab17e0d8b7e2..0cd17de2062c 100644 --- a/tools/testing/selftests/nolibc/Makefile +++ b/tools/testing/selftests/nolibc/Makefile @@ -206,6 +206,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_RUN_OUT) + clean: $(call QUIET_CLEAN, sysroot) $(Q)rm -rf sysroot -- 2.25.1