Merge tag 'for-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux...
[linux-block.git] / security / apparmor / Kconfig
index 7e1dfdbd4c41a0baf9a644edde417266c2258db0..348ed6cfa08a02f2d0aad87b2c552cb46913542f 100644 (file)
@@ -70,8 +70,9 @@ config SECURITY_APPARMOR_DEBUG_MESSAGES
          the kernel message buffer.
 
 config SECURITY_APPARMOR_KUNIT_TEST
-       bool "Build KUnit tests for policy_unpack.c"
+       bool "Build KUnit tests for policy_unpack.c" if !KUNIT_ALL_TESTS
        depends on KUNIT=y && SECURITY_APPARMOR
+       default KUNIT_ALL_TESTS
        help
          This builds the AppArmor KUnit tests.