🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.git
Article #1228

Re: [PATCH 2/2] unit-tests: ignore --long-tests

#1228
From: Kaartic Sivaraam
Date: Fri, 23 Oct 2026 07:15
52 lines
12540 bytes
On 10/23/26 12:20, Patrick Steinhardt wrote:
>>
>>    $ meson test -v --test-args='-ilx'
>>
>> So, ignore -l / --long-tests in our clar tests.
> 
> TIL, I didn't even know we had this switch to run long tests. That makes
> me wonder whether we should have an "--features-testbed" switch to make
> it easy to run tests same as our CI job that sets all those test
> variables, and then adapt CI to use it. It's always a pain to specify
> all of these environment variables.
> 

That would indeed be a good addition! It may help us easily emulate the 
feature-testbed job locally. I say "easy" hoping it does not need any 
kind of additional niche dependency in order to run locally. It seems so 
on taking a quick look at the the CI script :-)

> That's of course outside of the scope of this patch series, but I've got
> a pending series where I may be able to squeeze this into.
> 

Cool!

>> This does not show up as a problem while running our CI as we enable
>> the expensive prerequiiste via the GIT_TEST_LONG env variable.
> 
> s/prerequiiste/prerequisite/
>

Good catch. Will fix this!
>> diff --git a/t/unit-tests/unit-test.c b/t/unit-tests/unit-test.c
>> index d066c8a4c8..06ffd0f5bb 100644
>> --- a/t/unit-tests/unit-test.c
>> +++ b/t/unit-tests/unit-test.c
>> @@ -28,6 +28,7 @@ int cmd_main(int argc, const char **argv)
>>   		 */
>>   		OPT_NOOP_NOARG('d', "debug"),
>>   		OPT_NOOP_NOARG(0, "github-workflow-markup"),
>> +		OPT_NOOP_NOARG('l', "long-tests"),
>>   		OPT_NOOP_NOARG(0, "no-bin-wrappers"),
>>   		OPT_NOOP_ARG(0, "no-chain-lint"),
>>   		OPT_NOOP_ARG(0, "root"),
> 
> Looks obviously good to me, thanks!
>

Thanks for the prompt review!

-- 
Sivaraam
Technical Details
Message-ID: <57e42fb9-b60d-43d5-abef-432ddf8da34d@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-72945-linux-kernel-git=dewy.ru
References: <20261022-ks-unit-tests-ignore-long-tests-v1-0-554a590d418b@gmail.com> <20261022-ks-unit-tests-ignore-long-tests-v1-2-554a590d418b@gmail.com> <atsDvfHx3_EkrI6Z@pks.im>

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-72945-linux-kernel-git=dewy.ru
From: kaartic.sivaraam@gmail.com (Kaartic Sivaraam)
Newsgroups: linux.kernel.git
Subject: Re: [PATCH 2/2] unit-tests: ignore --long-tests
Date: Fri, 23 Oct 2026 12:45:16 +0530
Organization: Usenet Network
Message-ID: <57e42fb9-b60d-43d5-abef-432ddf8da34d@gmail.com>
References: <20261022-ks-unit-tests-ignore-long-tests-v1-0-554a590d418b@gmail.com>
 <20261022-ks-unit-tests-ignore-long-tests-v1-2-554a590d418b@gmail.com>
 <atsDvfHx3_EkrI6Z@pks.im>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="436143"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:YngegHWOtRc0PE6+m4nOVCTaMlQ= sha256:F3VTtGKfO5l6G9Zh+VVxDUsTHLt2YYrq+SMk/XdhSCA=
	sha1:xQCCIH7K1Kmlm371bcNezo5u3rM= sha256:FZPfOT8HCd67R/aICnbtU+Z31V3O0yHB7LFYtshfbMA=
Content-Language: en-US
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 5B67F111410; Fri, 23 Oct 2026 10:20:14 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.048
X-Spam-Status: No, score=-3.048 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.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 FYcrQi9C0I5H;
	Fri, 23 Oct 2026 10:20:11 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=git+bounces-72945-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id DB22E11140C; Fri, 23 Oct 2026 10:20:02 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id 285462979D; Fri, 23 Oct 2026 07:15:24 +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=1792739723;
	b=gEo5fOmPYrs72kgqfAy+7qwc9JMg46Ll9Pl7AYAPsFc3TdjLxIqw4VfZ4qec1En/cWXz
	 0eaGiYpljBioY6FsoZDR52PVOJoSC6I3c7QZexByezX0XgZNH5KUbFx5maWI8hI38dE06
	 6yuesChQcA2Pac9pWD23BvT3AzC4YNSCcwOpUoTO9nt9lUDq8h5EPGmzUQpMyJLcwNO5r
	 AE+uoRTGXwlcy9GB2+YpTxjlEdFAEJTI7nIcl6yeONMyGMW7cliO2W6IIPibr9oQWEs69
	 Aw+FmT3Fnkvjh51BMvnb9QdZJ8I6M/oX3CG8WK109kge6hMF9ReGFPZye+IsG347EFg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792739723;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
	 Received:Message-ID:Date:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To:
	 Content-Type:Content-Transfer-Encoding;
	bh=gRqUucWe5ysqlElFk+IgvTutDeyuFWZcAQo3UGv4nwY=;
	b=kHGcnpXWUNKoanGhfV6HG85LLzld8CyOgtA/F583mSPCPSsgNAiz0X0D0UssZl0143dn
	 h6s1ZVma0WmIwTbTfNhHPlCfYqvJT6UXc77hiQRRO94iCs4Anj/fl3O9DQwdIW7+EfoFV
	 3GUDxL4kgz8+FzVShddb63EPv8wtojlRY7p5C0PK3cYKXF42wqV8eY95l8Y1Z1sedLpWE
	 9PluoGFPtiVfy0pqxhpdbjIMoCcJmI7Cfs8B3mI07YFIO6uymAwZqUnPjdQnAxjLs3OXv
	 AcGPuC8cIbgPB/eZUFzc24y72+h+OahZ4QO6x60l2vbPfWSs7U7qvNKke+3iK0LByoA==
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=poZ0iBqi;
	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 12519606A322;
	Fri, 23 Oct 2026 07:15:23 +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=poZ0iBqi
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.216.51
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792739722;
	b=bfMLElRvft24Rc6XIVAXiQ4j7nG7cimryMzSzMAKK6i5QOifDWcdla+afJ29MpcJieUF
	 ShJGkxkCBSJKVqftL6tHDUj4IEU4f/PbscggXuIoxec3UfgvsoXTJwzbn0tGe+5PCOqgq
	 QHEQQ6fX/3ZYLGWVCZ/QFcIc70Gt06dH6OAEqA+lz3dV3Vx/u33FPoqSc0nLK1bHBvzd0
	 U5P6ZwldurH8Cj71uH7A3AKPElEkZWWSjSZr431FNdSevmVTjT6FAQNzG2/qZi5wwbQ0L
	 FFNmiLbu/lvuquZ34q43FtX79xxjaZuLWNU5/c+H8OVOKaqSPomW/CshAFixVjcqgtA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792739722;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Gm-Message-State:X-Gm-Gg:X-Received:Received:Message-ID:Date:
	 MIME-Version:User-Agent:Subject:To:Cc:References:Content-Language:
	 From:In-Reply-To:Content-Type:Content-Transfer-Encoding;
	bh=gRqUucWe5ysqlElFk+IgvTutDeyuFWZcAQo3UGv4nwY=;
	b=mOzEFpGvZQPCksGWl2mgqOHqKgFyKS6kFKDIK+AJRJvjEyAPP2N8lp6ZkdM7mSZmxW0l
	 fyIwPguI2/nabXu9Br7djCYEIZOasuNkUfFOwhVvcXf73K/gtAKfHITP1U9FJTkbM27ZD
	 C8RQa+Sn2npPSNk1sJGpCvnJC/rztnWXHEHsh5Bc/LpDx973MFiKtEOxQZg7BN8hASotg
	 tsajDSAvcd0VlXxhvuPa7mGmbTcHKF6XQcqKNvcU/RovyWnfNtkSg35tz6mS9Ys2CxIB2
	 S8TaLyo5r3gXaihPAxoKkWqQAUg+MU9rlJKlm4dRV4bqNVKTMh+x7/u14jhqBTIoxHQ==
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=poZ0iBqi;
	arc=none smtp.remote-ip=209.85.216.51
X-Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51])
	(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 D545B606A31E
	for <git@vger.kernel.org>; Fri, 23 Oct 2026 07:15:21 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D545B606A31E
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-pj1-f51.google.com with SMTP id 98e67ed59e1d1-3ac9f49b984so328791a91.1
        for <git@vger.kernel.org>; Fri, 23 Oct 2026 00:15:21 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20251104; t=1792739721; x=1793344521; darn=vger.kernel.org;
        h=content-transfer-encoding:content-type:in-reply-to:from
         :content-language:references:cc:to:subject:user-agent:mime-version
         :date:message-id:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=gRqUucWe5ysqlElFk+IgvTutDeyuFWZcAQo3UGv4nwY=;
        b=poZ0iBqiUxXZtTtfCyEQbIGWgOYDhVL1fgc8s7jUa9PnY4HoEINCGY33nKdhvGrbYN
         UcRqVQtcylvVLQKIW4Ot39jXX9dLedfcrbB8zmkJUtwQ6znoZuWFVO+5JnZVuDDsuBZh
         +F2KP32KFrJbm0iWtp57Djsi7edor9S/7D+sQLLLSQZ8wU0wFE1w5UqcvMEg6ggvYNHO
         T3CdtiAiM5l0vSZp7fe6oYlf5BTdue4bX038zclEdMbqhk9e4B/Q7O0B35bQcOxWEXGd
         MzEYjbDKR6KLBOsoLI7lkSTi13Yzk0c9PSrBkGp+hDK7Okuvzl2C9dl/SPIWiND9Ik2V
         HnWA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1792739721; x=1793344521;
        h=content-transfer-encoding:content-type:in-reply-to:from
         :content-language:references:cc:to:subject:user-agent:mime-version
         :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
         :message-id:reply-to:content-type;
        bh=gRqUucWe5ysqlElFk+IgvTutDeyuFWZcAQo3UGv4nwY=;
        b=mUH1IupC2+5AAos90aWI51FDE9F4G1/yf4ZO3+ibVrSEOihScrbGwtpu6v9j39B5th
         d5KtxCmS9a1TrabNexXN6DAC5bgmzRpD9+s1CBhtFAeFgGouWWwaUEq+T0CxbBUNE//x
         affSryAkm91OMUB/5nQ63cVQQxPuurar8IJ6pCqXGIsDbqkgxvtjKU7f+cnCU8rESCCG
         PA2yIw+V5zWei6zgeiBHq0qdR0XOexSCLBeLndT9H5dGQCrfAgrC1DWmFENhnpMTcQXE
         B9XJix/s4r9HT3gTdEpHPCCKl6JkStfNCbRZzS5VgckxrHMo7WutpaG/zNaFJIR3RJuF
         xOPg==
X-Gm-Message-State: AFq9FYJLW+qk6o4kPS8rEveXHmy1TiWQGVX6y9qRSN05sHu4sR1FiAa1
	Ut8viW+aNeYEkCc2zJcV6+VDwm1JINtcwe2hbuaBWi1pVMv71abhkXgvoaZWrg==
X-Gm-Gg: AYBFou3OXrC0qDWmXU63QsrIt82wX6cU+H5jKpGu1xEO+L9PVElPqd+IZ8na9xivi/p
	8CMqBEUkoW8fIaIASUudauCwFzIbV7GMIWCY1ua13B8LhPxdlwXz05vSQSvpAJORW0lSo0Swsu+
	QT8jA8J5mO7wLbMpHDS1/QR6vPWZ8m/MfQ7qZsBk+/bhb/amSwey41SLZUxxMRl7gJ/AIbI75me
	UYIbJnjzJGCztswPv1zBM+Qg542CqdXUO0y6uwO4XyPFMMlTcyB51aMtg69lazFw6+QnpgsYiJE
	ulN1hM6CX6JS1bLhXBuKoC6eLPAKv4tvvdiNLL00c5hA57k5MCfv7zonJupXC1pTSFpagSUqM33
	OzUZbMQWH50ba45Wub1XML3+dD4wGZlF+i0XmbM0RQNl/KAddwuUhQ0BZptUwEbZJfo+gdI9UAo
	GJ1FDdl2ESkfKfklSS0RjFuDyk/1QV1eyufqahMe455QAUvJRrjIhqsw2yXf7eMe9BVXyP3pvKJ
	gKFvwuzBHzh21iK3Cw90D2+I7v24IBG4Ct+jtTZAofPnHW12keCJACQRPHNQQeUjZBhLwyMTxb9
	wPka1nEpYvFuFTo9uSlKEMbXwiGDYGYn4fU=
X-Received: by 2002:a17:90b:39b0:b0:3a0:c31d:80c with SMTP id 98e67ed59e1d1-3adce6001e3mr796882a91.9.1792739720919;
        Fri, 23 Oct 2026 00:15:20 -0700 (PDT)
X-Received: from ?IPV6:2406:7400:12b:64c0:b6fd:f107:8ea8:9e90? ([2406:7400:12b:64c0:b6fd:f107:8ea8:9e90])
        by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3ada47f8ff1sm7755506a91.0.2026.10.23.00.15.19
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Fri, 23 Oct 2026 00:15:20 -0700 (PDT)
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-User-Agent: Mozilla Thunderbird
X-Cc: Git mailing list <git@vger.kernel.org>
X-In-Reply-To: <atsDvfHx3_EkrI6Z@pks.im>