Re: Is it expected that tests/sys/kqueue/libkqueue/Makefile and tests/oclo/Makefile should use PLAIN_TESTS_C= instead of using += ?

From: Enji Cooper (yaneurabeya) <yaneurabeya_at_gmail.com>
Date: Wed, 22 Apr 2026 23:47:00 UTC
> On Apr 22, 2026, at 2:23 PM, Mark Millard <marklmi@yahoo.com> wrote:
> 
> I see:
> 
> /usr/main-src/tests/sys/kqueue/libkqueue/Makefile:PLAIN_TESTS_C=
> kqueue_test
> 
> /usr/main-src/tests/oclo/Makefile:PLAIN_TESTS_C=        oclo oclo_errors
> ocloexec_verify
> 
> But the rest use += :

...
> (Not that the above contributes to my problem, but I noticed this while
> trying to figure out why my armv7 builds fail but my aarch64 builds
> work. The difference being armv7 is not even trying to build
> tests/sys/kern/tty/tiocnotty but its install is trying to install it.
> aarch64 both builds it and installs it.)


Hi Mark,
	There’s no harm in them doing that, but using that form makes it more difficult to back port changes or make local customizations sometimes without causing undesirable build side-effects.
Cheers,
-Enji