Re: git: 0849f1634a70 - main - tests/netinet: add test for IP_MULTICAST_IF

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Mon, 24 Mar 2025 16:16:32 UTC
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.
>> 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 CI 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’re not going to go down that path. I considered Gleb’s objection sufficient to abandon it, so you’re just bouncing the rubble at this point.

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

Best regards,
Kristof