Re: [PATCH] selftests/nci: skip when the virtual NCI device is absent

From: Simon Horman

Date: Sat Sep 26 2026 - 12:54:53 EST


On Fri, Sep 25, 2026 at 04:41:59PM +0300, Eva Kurchatova wrote:
> All 8 tests fail in setup without CONFIG_NFC_VIRTUAL_NCI.
>
> Skip only when the device node is missing, so that a real open()
> failure, EPERM or EBUSY, still fails the test instead of being
> reported as a skip.
>
> Signed-off-by: Eva Kurchatova <eva.kurchatova@xxxxxxxxxxxxx>

Hi Eva,

I expect that tests are expected to run with tools/testing/selftests/nci/config
Which has CONFIG_NFC_VIRTUAL_NCI set.

So, as per Jakub's comment's elsewhere [1], this seems like another case where
either the environment should be updated or a local patch carried.

[1] Re: [PATCH] selftests: netdevsim: skip the rate tc-bw check without tool support
https://lore.kernel.org/netdev/20260925171154.79c372fc@xxxxxxxxxx/

--
pw-bot: reject