kunit: fix wireless test dependencies
authorJohannes Berg <johannes.berg@intel.com>
Mon, 25 Mar 2024 16:43:32 +0000 (17:43 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Mar 2024 16:45:18 +0000 (17:45 +0100)
For the wireless tests, CONFIG_WLAN and CONFIG_NETDEVICES are
needed, though seem to be available by default on ARCH=um, so
we didn't notice this before. Add them to fix kunit running
on other architectures.

Fixes: 28b3df1fe6ba ("kunit: add wireless unit tests")
Reported-by: Mark Brown <broonie@kernel.org>
Closes: https://lore.kernel.org/r/b743a5ec-3d07-4747-85e0-2fb2ef69db7c@sirena.org.uk/
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
tools/testing/kunit/configs/all_tests.config

index a6cf69a665e843bb2d2aeab226f5a11e1497d9bc..76d049cdfca1f9966449262ccabe0e09732252a8 100644 (file)
@@ -28,6 +28,8 @@ CONFIG_MCTP_FLOWS=y
 CONFIG_INET=y
 CONFIG_MPTCP=y
 
+CONFIG_NETDEVICES=y
+CONFIG_WLAN=y
 CONFIG_CFG80211=y
 CONFIG_MAC80211=y
 CONFIG_WLAN_VENDOR_INTEL=y