selftests/livepatch: add DYNAMIC_DEBUG config dependency
authorJoe Lawrence <joe.lawrence@redhat.com>
Thu, 31 Jan 2019 16:41:24 +0000 (11:41 -0500)
committerPetr Mladek <pmladek@suse.com>
Fri, 1 Feb 2019 11:28:53 +0000 (12:28 +0100)
The livepatch selftest scripts turn on dynamic_debug of livepatch
kernel source to determine expected behavior.  TEST_LIVEPATCH should
therefore include DYNAMIC_DEBUG in its list of dependencies.

Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
Acked-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Petr Mladek <pmladek@suse.com>
lib/Kconfig.debug

index 0298eb8..0a3af29 100644 (file)
@@ -1994,6 +1994,7 @@ config TEST_MEMCAT_P
 config TEST_LIVEPATCH
        tristate "Test livepatching"
        default n
+       depends on DYNAMIC_DEBUG
        depends on LIVEPATCH
        depends on m
        help