Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2025 01:16:32 +0900
From:      Kristof Provost <kp@FreeBSD.org>
To:        Brooks Davis <brooks@freebsd.org>
Cc:        Gleb Smirnoff <glebius@freebsd.org>, igoro@freebsd.org, src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: 0849f1634a70 - main - tests/netinet: add test for IP_MULTICAST_IF
Message-ID:  <563E114F-6591-4F12-91FF-F237FF315809@FreeBSD.org>
In-Reply-To: <Z-GD1xLxN7PdaBtF@spindle.one-eyed-alien.net>
References:  <202503222340.52MNekCX071219@gitrepo.freebsd.org> <7440BE85-66E8-4D1A-AC15-8B944F5C2951@FreeBSD.org> <Z-D3yP4O8sKBvlbM@cell.glebi.us> <Z-GD1xLxN7PdaBtF@spindle.one-eyed-alien.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 25 Mar 2025, at 1:09, Brooks Davis wrote:
> On Sun, Mar 23, 2025 at 11:12:24PM -0700, Gleb Smirnoff wrote:
>> On Mon, Mar 24, 2025 at 11:45:55AM +0900, Kristof Provost wrote:
>> K> The downside is that we???re compiling the C test code on every run=
, but I
>> K> expect test programs to be tiny, so that???s not too much of a cost=
=2E
>> K>
>> K> Does this seem useful to you too?
>>
>> That would fail on decreased installation, that has tests, but doesn't=
 have
>> compiler.  This is not just a made up problem, this is what many would=
 do in
>> CI, cause you want usually as quick as possible response time from CI,=
 and if
>> your team is not hacking the compiler, you won't add compiler to the C=
I build.
>
> This would be pretty catastraphic in our CheriBSD CI setup which uses
> qemu.  We don't install the compiler at all and it is very, very slow
> under emulation.[0]
>
We=E2=80=99re not going to go down that path. I considered Gleb=E2=80=99s=
 objection sufficient to abandon it, so you=E2=80=99re just bouncing the =
rubble at this point.

Igor and Gleb have a better idea, where we=E2=80=99ll use jail=E2=80=99s =
exec.start (or something based on that) to set up a useful vnet jail envi=
ronment for a pre-compiled C test.

Best regards,
Kristof



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?563E114F-6591-4F12-91FF-F237FF315809>