Merge tag 'for-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux...
[platform/kernel/linux-starfive.git] / security / apparmor / Kconfig
index 7e1dfdb..348ed6c 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.