Skip to content

Commit 6d6861d

Browse files
roxellshuahkh
authored andcommitted
security: apparmor: default KUNIT_* fragments to KUNIT_ALL_TESTS
This makes it easier to enable all KUnit fragments. Adding 'if !KUNIT_ALL_TESTS' so individual tests can not be turned off. Therefore if KUNIT_ALL_TESTS is enabled that will hide the prompt in menuconfig. Reviewed-by: David Gow <[email protected]> Signed-off-by: Anders Roxell <[email protected]> Acked-by: John Johansen <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent d194e12 commit 6d6861d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

security/apparmor/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ config SECURITY_APPARMOR_DEBUG_MESSAGES
7070
the kernel message buffer.
7171

7272
config SECURITY_APPARMOR_KUNIT_TEST
73-
bool "Build KUnit tests for policy_unpack.c"
73+
bool "Build KUnit tests for policy_unpack.c" if !KUNIT_ALL_TESTS
7474
depends on KUNIT=y && SECURITY_APPARMOR
75+
default KUNIT_ALL_TESTS
7576
help
7677
This builds the AppArmor KUnit tests.
7778

0 commit comments

Comments
 (0)