Re: git: 0849f1634a70 - main - tests/netinet: add test for IP_MULTICAST_IF
Date: Mon, 24 Mar 2025 16:09:59 UTC
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] -- Brooks [0] Emulation is worse than typical for use becasue the underlying hardware doesn't (yet!) support capabilities and thus we have to emulate all the bounds, permissisons, etc checks for each instruction.