Commit 2f53da43 authored by Ryota Sakamoto's avatar Ryota Sakamoto Committed by John Johansen
Browse files

apparmor: add .kunitconfig



Add .kunitconfig file to the AppArmor directory to enable easy execution of
KUnit tests.

AppArmor tests (CONFIG_SECURITY_APPARMOR_KUNIT_TEST) depend on
CONFIG_SECURITY_APPARMOR which also depends on CONFIG_SECURITY and
CONFIG_NET. Without explicitly enabling these configs in the .kunitconfig,
developers will need to specify config manually.

With the .kunitconfig, developers can run the tests:
  $ ./tools/testing/kunit/kunit.py run --kunitconfig security/apparmor

Signed-off-by: default avatarRyota Sakamoto <sakamo.ryota@gmail.com>
Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent 859b7255
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
CONFIG_KUNIT=y
CONFIG_NET=y
CONFIG_SECURITY=y
CONFIG_SECURITY_APPARMOR=y
CONFIG_SECURITY_APPARMOR_KUNIT_TEST=y