]> Gentwo Git Trees - linux/.git/commit
selftests: hw-net: auto-disable building the iouring C code
authorJakub Kicinski <kuba@kernel.org>
Fri, 21 Nov 2025 04:02:55 +0000 (20:02 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 25 Nov 2025 02:51:40 +0000 (18:51 -0800)
commitf81171fecd0c33f442fe3aa94cff650d0069152a
tree21ae37d340a247b067ab9ae293bbcfabbf7cd818
parentef0b78b5b6cb139af1273fc5f2720201556b2650
selftests: hw-net: auto-disable building the iouring C code

Looks like the liburing is not updated by distros very aggressively.
Presumably because a lot of packages depend on it. I just updated
to Fedora 43 and it's still on liburing 2.9. The test is 9mo old,
at this stage I think this warrants handling the build failure
more gracefully.

Detect if iouring is recent enough and if not print a warning
and exclude the C prog from build. The Python test will just
fail since the binary won't exist. But it removes the major
annoyance of having to update liburing from sources when
developing other tests.

Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20251121040259.3647749-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/hw/Makefile