🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.git
Article #1470

[PATCH v2 1/2] unit-tests: reshuffle NOOP arguments to maintain order

#1470
From: Kaartic Sivaraam
Date: Mon, 26 Oct 2026 07:31
45 lines
12345 bytes
Ever since 9faf3963b6 (t: introduce compatibility options to
clar-based tests, 2024-12-13), our clar tests have a few NOOP
arguments in order to accept the same arguments that our integration
tests accept. This makes it easy to pass in test arguments when both
unit and integration tests are run together such as via:

  $ meson test -v --test-args='-ix'

On a quick scan, the order of the NOOP arguments seem to be
alphabetical. That is only until you notice that 'with-dashes'
appears out of order.

Fix this by moving it into its appropriate place thus ensuring
they are in alphabetical order. This makes it easy for future
patches to not worry about where to place a NOOP argument
that is not yet in the list.

Signed-off-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
---
 t/unit-tests/unit-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/unit-tests/unit-test.c b/t/unit-tests/unit-test.c
index 752fb38fb3..d066c8a4c8 100644
--- a/t/unit-tests/unit-test.c
+++ b/t/unit-tests/unit-test.c
@@ -33,12 +33,12 @@ int cmd_main(int argc, const char **argv)
 		OPT_NOOP_ARG(0, "root"),
 		OPT_NOOP_ARG(0, "stress"),
 		OPT_NOOP_NOARG(0, "tee"),
-		OPT_NOOP_NOARG(0, "with-dashes"),
 		OPT_NOOP_ARG(0, "valgrind"),
 		OPT_NOOP_ARG(0, "valgrind-only"),
 		OPT_NOOP_NOARG('v', "verbose"),
 		OPT_NOOP_NOARG('V', "verbose-log"),
 		OPT_NOOP_ARG(0, "verbose-only"),
+		OPT_NOOP_NOARG(0, "with-dashes"),
 		OPT_NOOP_NOARG('x', NULL),
 		OPT_END(),
 	};

-- 
2.56.0.99.g5a7d1e8045.dirty

Technical Details
Message-ID: <20261026-ks-unit-tests-ignore-long-tests-v2-1-fdbbefbd19fb@gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-73249-linux-kernel-git=dewy.ru
References: <20261026-ks-unit-tests-ignore-long-tests-v2-0-fdbbefbd19fb@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-73249-linux-kernel-git=dewy.ru
From: kaartic.sivaraam@gmail.com (Kaartic Sivaraam)
Newsgroups: linux.kernel.git
Subject: [PATCH v2 1/2] unit-tests: reshuffle NOOP arguments to
 maintain order
Date: Mon, 26 Oct 2026 13:01:04 +0530
Organization: Usenet Network
Message-ID: <20261026-ks-unit-tests-ignore-long-tests-v2-1-fdbbefbd19fb@gmail.com>
References: <20261026-ks-unit-tests-ignore-long-tests-v2-0-fdbbefbd19fb@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="1250768"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Rx0Don0SUfQNtzi3aiNCBP0Clqk= sha256:PmNk/GiIEwDKoj4Ht0l3QLOtaDmAmaNsqaY5TDoLX6o=
	sha1:1EkNmpw7DQqQqAXhpdKFaeAib3Q= sha256:7fjVVNkyWxlVqHdboNu/NffLQ/IapD6OefVndWDwU8A=
List-ID: <git.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id DBD3F125B8D; Mon, 26 Oct 2026 10:31:32 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.048
X-Spam-Status: No, score=-2.048 tagged_above=-9999 required=6.31
	tests=[DCC_CHECK=1.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
	FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id aR0YUHSR8Wpj;
	Mon, 26 Oct 2026 10:31:29 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=git+bounces-73249-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id B790F125B7B; Mon, 26 Oct 2026 10:31:20 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id 6D3C2600E6D; Mon, 26 Oct 2026 07:31:19 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1792999876;
	b=X96xxFAPH+9JwZ8FesosbX/7o7sHU2ZfTQU6j+YtbdlMfw1cOrqw5GjMEsh63QCkXrpn
	 tJcOWwEcbaDxm5wymJftP65EAH9jIOq80Iqtyx3q8naUnE29E+qJ0XFWouu9GTbvoUYr7
	 zrn26JBx74JSJ/SO89VL19fDmNDDjinRNnoRpEinIpYteYBRXG6AaiLYZ2ONlva1btqCV
	 z7J04ZeT+aVBpCBF+ogfXHD8eIf02MeLa1te1PrsBCDHc14VqNodBwJUiBQEjcNCQZdrm
	 0QPDbhYdb75bnsH/d2eFpUFo2MwIn1EH4LiEgr6m4wf/2iNsYnPJjJek9YgSrVak+og==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792999876;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
	 Received:From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:
	 References:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
	 X-Mailer:Content-Transfer-Encoding;
	bh=OI1G90ezTgkCcWqLwBtF4AirykJWzYiu8xv4ID+dXj8=;
	b=5kqnrkE3HFPOHso6FnP5xgcxNKj62uJSf8aeiryFVa0rVM4iLYkkVLbOrYfdv7zouuQJ
	 Z6TfpVbJGDaDo5Cqwe/JBpKAvAbfs4F6BeqfKlvjNkfwfFVMiXRLBXGsXhWb2CaG5FSs8
	 lDSImIR5XA0uJBwl7gqfcxjqQreT1d9NULGoeBIKMJLbnO0aoi50PUoq7dRKSm8Q+BSUj
	 uxxFmMkoEbCJpmUWbPQQ7n6f0SvXRXUyfpPwKJ6lZG7mEKmK7U7utTEOyu1hff8lmpAB+
	 Iqu9/ZrVHkUPOovJHqC40d3EygL0h/y+X+3tx0PmPpObfyy3nwWbUW+KfnCVriTJ6Xw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=QFt1fgj+;
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 5A287606A32D;
	Mon, 26 Oct 2026 07:31:16 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=QFt1fgj+
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.182
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792999875;
	b=UVr7Vvyino4ATfwqCDKDHZCfvoHzcIV7pIS98UkrM+gm+DELbTtHLD8QR5JvnWPuIlEO
	 HSYfkKv0CnmS+Njn0T3l6rYb6RjmeCMHO/A5xO9WPwDSWzSMX6cRtkVqutliS9ym2LPUX
	 otmVN60L2FlhDmy3XXjwffzz4xhVY+2TuYmuFPsCycRbpX7xO85Eh09zeFEoXJlBahgEF
	 EyQbig8NbetkglvooCpW3v/I/OvVui6iK3QLretkNx1HFR85PnCxLApyxdjhpke6X0w1G
	 wzRHVBreQ1iO1MKyBIj36DlWGvI26IXIgNt0LmjF9l7HFuSI7n2dhBoV+OhxW5tSAtw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792999875;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject:
	 Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version:
	 Content-Type:X-Mailer:Content-Transfer-Encoding;
	bh=OI1G90ezTgkCcWqLwBtF4AirykJWzYiu8xv4ID+dXj8=;
	b=Tse8Va1InWF5TpUeddM8rF3h+O5uoA2I/+PY2c+EEa5Fao+EUaOfwKKy+AUBItoOvoY9
	 FORF/3UDt2yhfW+HhhktkwhpqcWFmVJKnas1dy58OD97Q2pBCouSstgfUrbyWeqwCOZgF
	 U/yh64Kb9qeJQQPfKgDEvcivkP4Gxn6uESimcV3AiYwk15smZciv8S3jWDtnE3jQZAHc8
	 N6SDDEMUGVHYaMLHdLyznYqkJedRPWfqX7MLdBZA4NdreCTSpU0YdVX+G2BJ1BjzO17RB
	 m2qgV4rtPcDezPM+46Iw/di8nPlZD6YEKM3PTjEx45sSOYwJi1nkY7V5+aN5Dn/Issw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=QFt1fgj+;
	arc=none smtp.remote-ip=74.125.82.182
X-Received: from mail-dy1-f182.google.com (mail-dy1-f182.google.com [74.125.82.182])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1FE1A606A326
	for <git@vger.kernel.org>; Mon, 26 Oct 2026 07:31:14 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 1FE1A606A326
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-dy1-f182.google.com with SMTP id 5a478bee46e88-33fb4680717so4824301eec.1
        for <git@vger.kernel.org>; Mon, 26 Oct 2026 00:31:14 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20251104; t=1792999874; x=1793604674; darn=vger.kernel.org;
        h=content-transfer-encoding:content-type:mime-version:references
         :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject
         :date:message-id:reply-to:content-type;
        bh=OI1G90ezTgkCcWqLwBtF4AirykJWzYiu8xv4ID+dXj8=;
        b=QFt1fgj++JNxEvS1p8u3HfQKKL98+fjS/9GsD7NS66YcJjD7DZXHNf0azL2nRWFVAO
         2Bz5QJIk0eDdLnq7VouKppseIstm+hv0HHuZe+Ph4gDBoOg7SH2u3IZe978hjeNbS+up
         0qmrqAJCgJ1HR0VhEl4kIOeFuOJgTqlww61IxGuG4OP3ulc2lQVVgGEf6BGJBTyB+KNU
         XDua8Jvjs3/TfQMUz1U0DDYA6Pb9MwA9prXVAP4MLeS4gI7atJf0FRGph5NBwbdiw6y7
         jYg2DbmavaSB5+FiBZFAAC5LaLcfwlzoWC7/NqOE3nYeziTrj2X9adCJP0io49Y19N5t
         2uRQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1792999874; x=1793604674;
        h=content-transfer-encoding:content-type:mime-version:references
         :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=OI1G90ezTgkCcWqLwBtF4AirykJWzYiu8xv4ID+dXj8=;
        b=y8kmYNDSxCyxghneUHa0Khw6fUS1nHH3IZa7VAPvydnqfIQfAv+rwIHGwVieplamrF
         XTHLDjoPOcWNUfqLCNkmgRMH6MorOm4JbdgG/hUVCVhgyw+SOQu4a5lrfoghc2KDFv/6
         2GZG1vFndyFFCWZzgbvw9C5QBjVgk+g0yY2XZEt0Q7o4pd1Y4qeYVMdxkywkOjLPlmxu
         +5d0gNVwsgJxVTCLMzvnBUic4FlFfuIpn3y1YQX0vKwcD0htHNK3ASO/LanLuV+4ZjJ+
         MF9oTQcdGi/IzIRQ53v/vesyJUfkutd9WGjCvnYv3ovE+acYEvEUt2lgTQMRpyvLxDyY
         6OFQ==
X-Gm-Message-State: AFq9FYJL9DnB0XFVorBXpiORAsvkhRGNcLifBK14GV6ee0qbcwy3nA0p
	O/l0UEmtpgfidxJb3dyWpLOZDPYAGfY14PGuVHwcWTpIkywEOBkambXbc3zBqw==
X-Gm-Gg: AYBFou1dGSFMxZLFYO5crwRAsPvh033mKQmfWQkvdBSaO998mLlnhti0/eYFGOUv67E
	Mb1Yz/ISMxDqcGUa8q6uUGCfmWHe1r6mSQzrohfkZ9Mpx+SmexWXeJ8Ucd4YPdO7sOLRQQkKwiH
	FvUBFb0zM9/A2qPOxGUkMrCVcThQQNHHrRE0GicnbyPGDbmpydkgY7HD3qv44lOVUp59EKAdRbl
	jkD2DbeQiDSeuIJL+gXVwGM6MszIOm2RGtUNK2uKAp2nQyg3qYQDZC7AgOmrzbc28wTXpQMVovJ
	IyZzQaCs3VRs4RPQzOd1mTipnW8azkiV3++RgfnCbw258lcIL1XecQx0tFRelD/rB9Q0VtLcc5K
	wDL5JScmZH54RTbcQOeqCLZ9Mh7X55VZruLhv4PXDdB9a7lICytC3BDwpBVwX6vhoq0/R/amV94
	C0kngggL+cmPMJaP8zphpN3UQwyYjuLtT4POeV4aD7xhJ4Q0OsjLjdaZlQuo6VtOdphxTZqnH4J
	/tbhCVxg32dbw9+6korssTunds9XbOzEMvbVHKON8ZWIQV7hrT2BbJdBXyEZKzwbn6MD5e0JTpd
	OwJsqlFW
X-Received: by 2002:a05:7300:80ca:b0:369:e918:3c95 with SMTP id 5a478bee46e88-369e9184604mr14978558eec.4.1792999874097;
        Mon, 26 Oct 2026 00:31:14 -0700 (PDT)
X-Received: from ksivaraam--20260831-PCX54 ([115.108.41.154])
        by smtp.gmail.com with ESMTPSA id 5a478bee46e88-369ff5a4d68sm8190664eec.14.2026.10.26.00.31.12
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Mon, 26 Oct 2026 00:31:13 -0700 (PDT)
X-Cc: Patrick Steinhardt <ps@pks.im>
X-Mailer: git-send-email 2.56.0.99.g5a7d1e8045.dirty
X-In-Reply-To: <20261026-ks-unit-tests-ignore-long-tests-v2-0-fdbbefbd19fb@gmail.com>
X-Mailing-List: git@vger.kernel.org
X-List-Post: <mailto:git@vger.kernel.org>
X-List-Help: <mailto:git+help@vger.kernel.org>
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:git+owner@vger.kernel.org>
X-Precedence: list
X-Mailer: b4 0.13.0