Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp30203448rwd; Thu, 6 Jul 2023 02:22:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlFP6XRzjeIjqlDxmJjDi7mcSXYH9YZIh6l+cDTRC9gSCXjVu0ylHXpDg1jPge3Gfd/oi8wv X-Received: by 2002:a05:6a00:134a:b0:652:a91c:55a0 with SMTP id k10-20020a056a00134a00b00652a91c55a0mr1252878pfu.25.1688635374573; Thu, 06 Jul 2023 02:22:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688635374; cv=none; d=google.com; s=arc-20160816; b=ni43gtkkN+IIvwi/UKmKAfrv8ogNkDx01xZrv5w0mpHk16T8sYMtterhUQ+DvMnTju py7c1YK30NLgLOA+JQKIbiveYHPxRJV1aI3SWGYsMpk1mbTTYxs+LvOpWC/j9tZT/vWB AOoyMStr2pqLI6NqucSAJjPO1cG2t5M0RO/a2CqBzKEVVcdSAjQCjtWCXZl7OJLwbhTa 8zamxuooVPycKUWdW9Ek5eRcpAJ6LaP/njB3HtVqSqiDx8iIHuES0WN6bTL0SafG4u1M Ow6ovNmrS4oz7Hk/YLJQ9UHKQjdn5WCGGGD52c7okAUQP9l0WayHTzdHksydeRGamlFL Iy5g== 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:message-id:date:subject:cc:to:from; bh=GZSBlaPuWmwIMDUkojDoT3SrzPIVb0wCyA70BnTJVGI=; fh=kgRNfNE6xRCHBUX3iUlrLhv5pQPglsdZFzOkxo2Fhpc=; b=vPPniGmgn6kikog3lYvO0UuOWCmRjeQOPEFTWRHCa9fLcVFxAgVHWNIuCmc0MEChZ6 Gt/LqpufRo9paMC8Nh28YCHIMpSxPcUIB/xWyZNbdp+o/Q7WpistZSQ+ZxyoSC2+wS2X 031WT25PYN1QkD7OUeEmtB+yzdkGT9OBdfu58u/NbkEUk2FdhaYNvUsWOtgBxx+MIGAT Udtupa0EzxfsRnRqZWoG0o8L+OdWBD3plfaMjN5NkE3kto7aCSwG74hDX1SFW+Ey5uT0 Z0912W2qlDjfLNp20glOkI1cHO0shHqeT1uTYTNaA51LlA7Rnopx4c0kGY0VZJDMcLIp Fe4Q== 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 x184-20020a6386c1000000b0054ff53233f2si1048810pgd.567.2023.07.06.02.22.40; Thu, 06 Jul 2023 02:22:54 -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 S231755AbjGFJCq (ORCPT + 99 others); Thu, 6 Jul 2023 05:02:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229489AbjGFJCn (ORCPT ); Thu, 6 Jul 2023 05:02:43 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC8981BCC; Thu, 6 Jul 2023 02:02:41 -0700 (PDT) X-QQ-mid: bizesmtp65t1688634149tsira3pq Received: from linux-lab-host.localdomain ( [116.30.131.119]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 06 Jul 2023 17:02:28 +0800 (CST) X-QQ-SSF: 01200000000000D0W000000D0000000 X-QQ-FEAT: ao4JQgu0M38y3uc6KtEbwrTWlrO+JT1upUbsZHhrCMGP5IRqZlq2musuDEDOF knS5fdAapJJpTmEZKXV/TSSRXaaGoxYx1lQPgrpQ+sxaF2kyOxd25t0DyhlcT9IBzOTJT/J 5I8bfVfxFfNqxAwWw95jQiGoP5jMugZhO8gQAziZ5g+ItUzT7A3hH66DSswmeL7NYpHXjV7 c3F5OMrhxRf+9EVQUgZdsgQ/0aChsIZzHh6uitt3Le4PGIohRhOCY0d+x61GHeGm76wYSkM siLRXuC001czUyNLOKC8E9wNJL5gfC5uI4p0roCmmvNAMFcCyjZgQToykvBbCoF7c4MEOeF lpVPPEzrrGq/iKIAbIeJ8B4xXb9Yw== X-QQ-GoodBg: 0 X-BIZMAIL-ID: 15438509616964618945 From: Zhangjin Wu To: w@1wt.eu Cc: falcon@tinylab.org, arnd@arndb.de, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, thomas@t-8ch.de Subject: [PATCH v1 0/5] selftests/nolibc: report: print test status Date: Thu, 6 Jul 2023 17:02:26 +0800 Message-Id: X-Mailer: git-send-email 2.25.1 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_MSPIKE_H2, 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 Hi, Willy As you suggested, the 'status: [success|warning|failure]' info is added to the summary line, with additional newlines around this line to extrude the status info. at the same time, the total tests is printed, the passed, skipped and failed values are aligned with '%03d'. This patchset is based on 20230705-nolibc-series2 of nolibc repo[1]. The test result looks like: ... 138 test(s): 135 passed, 002 skipped, 001 failed => status: failure See all results in /labs/linux-lab/src/linux-stable/tools/testing/selftests/nolibc/run.out Or: ... 137 test(s): 134 passed, 003 skipped, 000 failed => status: warning See all results in /labs/linux-lab/src/linux-stable/tools/testing/selftests/nolibc/run.out Best regards, Zhangjin --- [1]: https://git.kernel.org/pub/scm/linux/kernel/git/wtarreau/nolibc.git Zhangjin Wu (5): selftests/nolibc: report: print a summarized test status selftests/nolibc: report: print total tests selftests/nolibc: report: align passed, skipped and failed selftests/nolibc: report: extrude the test status line selftests/nolibc: report: add newline before test failures tools/testing/selftests/nolibc/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -- 2.25.1