Message ID | 20231115-nolibc-harness-v1-0-4d61382d9bf3@weissschuh.net |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp2812580vqg; Wed, 15 Nov 2023 13:08:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IFA4ujdAI3FCkE2teYZgJYr4+IIzlkAJXKsUqBjzRIpR+TmbkYZ7iqP17w/EazdWOcSdzMP X-Received: by 2002:a17:902:7086:b0:1cc:50f6:7fcc with SMTP id z6-20020a170902708600b001cc50f67fccmr6029433plk.55.1700082519487; Wed, 15 Nov 2023 13:08:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700082519; cv=none; d=google.com; s=arc-20160816; b=esablUS3Taebv49Hf/0yUqeHrWbvhawBZovm/QMyNV9XcHdBaivWvnqUAxFf/qOxoR dt0gr251bJJE1JIEiKTBOEVuHaBCq1Oe1pt7HIdpMlz0KCVoG8nMLDTq/Vc5Edk4zoDc 1d4zYenTxjoeAEbq8Bad1Wd0Nt0+YcbKfFiV2X2yTs3ejMFrnhXQYiyzbe8DIOez/MKZ j7FvEwjTA3B59w+Sl6CczSBm8UyiZioUtodAvM7Cq31eHugeK73a5eZ3vd07/n3si+rs bG/Y7almwT83btFaYnEbTB85qDysW9foC81FH80B0vXBI+Yih6Db3ZXLmgyce5SQDeiC Et7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=xDf2TZmtpHid0wO8nJIJHMIfI83HkKnQ+DgaY1KC2S8=; fh=Qbk0RS4bf6GjbhGkpgFoVgYg5V+1DfWcZ6CAErfO2MQ=; b=fs5JaUbfWtuPpgVDsANxUtD4fTTupvh+xkxAualRgrAqPF3SgUcImI6Q7GRarIoA1F 8Pg9+8TexEs5DxZHBewmBfJNX56OM4foG2mnzJUML8wi0lSlEmzsq1UqP76GHm1LSJLH 27cFglJACKi+D8LsnCvIYkgBmvnvfIhtCAq/u7jbi19wz7yzUvziIT9M6nMR5xkhHGB2 hdtcwRTyvNXnIZxCuRFK7pLRlIejKU1xsleHoVyuAz+/da249e9EYHg/37AVkbevwSz4 w31zW1TJ0lH3OLfuih2mXq2gF0xFytQVjThPZ30nmu7QkisVW7zfr0oyDOy9TGHlBGQM zi/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=koQhOm6G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id lm3-20020a170903298300b001bdd0d0530dsi11470616plb.129.2023.11.15.13.08.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 13:08:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=koQhOm6G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 2FDD88104385; Wed, 15 Nov 2023 13:08:38 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344791AbjKOVId (ORCPT <rfc822;lhua1029@gmail.com> + 29 others); Wed, 15 Nov 2023 16:08:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235581AbjKOVI3 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 15 Nov 2023 16:08:29 -0500 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2156D196; Wed, 15 Nov 2023 13:08:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1700082503; bh=CTsA5lI8lYA3WInzrUfmp2TktRtuX8KANJ9jWl+c2CI=; h=From:Subject:Date:To:Cc:From; b=koQhOm6G5G1RG9ZKWXvmByD+QGyClLiOMkJb9OOolK+2P9sJ74045B1QbpGr1WSgm 4Bp1UB6KmItqigfIb18Mi1SyHnFqcprm7rWoCz+UJawiiT6Y/funPD4fvi13KXA3B8 3k8poHJU1j6TAHBvLL/8ZtsatHm7xEFL7xyZTCq8= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= <linux@weissschuh.net> Subject: [PATCH RFC 0/3] selftests/nolibc: introduce new test harness Date: Wed, 15 Nov 2023 22:08:18 +0100 Message-Id: <20231115-nolibc-harness-v1-0-4d61382d9bf3@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAEIzVWUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI2NDQwNT3bz8nMykZN2MxKK81OJiXSOLZFNLAyPLFPNEUyWgpoKi1LTMCrC B0UpBbs5KsbW1AJUtSMNlAAAA To: Willy Tarreau <w@1wt.eu>, Shuah Khan <shuah@kernel.org> Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= <linux@weissschuh.net> X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1700082502; l=1050; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=CTsA5lI8lYA3WInzrUfmp2TktRtuX8KANJ9jWl+c2CI=; b=dNZ9JoznMaHKgGB6ViC2QV3bBhhy8b+gqTcUwfMSwdNBrwfj8egGjyvVpxskDj+9/Ut4raMbf LNm5lXAs4tWDIu3wAg2qMSfSd02rXVacSQGsOrtchXQRuqwUgkm6hYc X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 15 Nov 2023 13:08:38 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782665727911314775 X-GMAIL-MSGID: 1782665727911314775 |
Series |
selftests/nolibc: introduce new test harness
|
|
Message
Thomas Weißschuh
Nov. 15, 2023, 9:08 p.m. UTC
This series introduces a new test harness for nolibc.
It is similar to kselftest-harness and google test.
More information in patch 1.
This is an RFC to gather feedback, especially if it can be integrated
with the original kselftest-harness somehow.
Note:
When run under qemu-loongarch64 8.1.2 the test "mmap_munmap_good" fails.
This is a bug in qemu-user and already fixed there on master.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Thomas Weißschuh (3):
selftests/nolibc: add custom test harness
selftests/nolibc: migrate startup tests to new harness
selftests/nolibc: migrate vfprintf tests to new harness
tools/testing/selftests/nolibc/nolibc-harness.h | 269 ++++++++++++++++++++++++
tools/testing/selftests/nolibc/nolibc-test.c | 180 ++++++++--------
2 files changed, 353 insertions(+), 96 deletions(-)
---
base-commit: d38d5366cb1c51f687b4720277adee97074b22e9
change-id: 20231105-nolibc-harness-28c59029d7a5
Best regards,