Received: by mail.netbsd.org (Postfix, from userid 605) id 9C1BB84EEC; Sun, 11 Jul 2021 22:41:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id CD13E84EE4 for ; Sun, 11 Jul 2021 22:41:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id eCHHndJ-gyMq for ; Sun, 11 Jul 2021 22:41:36 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 5A00984ED8 for ; Sun, 11 Jul 2021 22:41:36 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 4C728FA95; Sun, 11 Jul 2021 22:41:36 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sun, 11 Jul 2021 22:41:36 +0000 From: "Roland Illig" Subject: CVS commit: src/tests/usr.bin/xlint/lint1 To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20210711224136.4C728FA95@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Roland Illig" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: rillig Date: Sun Jul 11 22:41:36 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: t_integration.sh Log Message: tests/lint: rework ATF test driver To skip tests that work only on particular platforms, a simple 'eval' from the shell does not work since it does not exit on failure. Fix this by storing the commands in a local variable first. Remove configuration knobs 'lint1-only-if-arch' and 'lint1-skip-if-arch' since they are unused. When skipping a test, actually mark it as skipped in the ATF statistics. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/tests/usr.bin/xlint/lint1/t_integration.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.