diff mbox series

selftests: livepatch: add missing fragments to config

Message ID 20190814111651.28433-1-anders.roxell@linaro.org
State Accepted
Commit 955a0f3310081731a1756a1d7bd742600ee69ffc
Headers show
Series selftests: livepatch: add missing fragments to config | expand

Commit Message

Anders Roxell Aug. 14, 2019, 11:16 a.m. UTC
When generating config with 'make defconfig kselftest-merge' fragment
CONFIG_TEST_LIVEPATCH=m isn't set.

Rework to enable CONFIG_LIVEPATCH and CONFIG_DYNAMIC_DEBUG as well.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>

---
 tools/testing/selftests/livepatch/config | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.20.1

Comments

Joe Lawrence Aug. 14, 2019, 1:20 p.m. UTC | #1
On 8/14/19 7:16 AM, Anders Roxell wrote:
> When generating config with 'make defconfig kselftest-merge' fragment

> CONFIG_TEST_LIVEPATCH=m isn't set.

> 

> Rework to enable CONFIG_LIVEPATCH and CONFIG_DYNAMIC_DEBUG as well.

> 

> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>

> ---

>   tools/testing/selftests/livepatch/config | 2 ++

>   1 file changed, 2 insertions(+)

> 

> diff --git a/tools/testing/selftests/livepatch/config b/tools/testing/selftests/livepatch/config

> index 0dd7700464a8..ad23100cb27c 100644

> --- a/tools/testing/selftests/livepatch/config

> +++ b/tools/testing/selftests/livepatch/config

> @@ -1 +1,3 @@

> +CONFIG_LIVEPATCH=y

> +CONFIG_DYNAMIC_DEBUG=y

>   CONFIG_TEST_LIVEPATCH=m

> 


Cool, I didn't know about that make target when doing commit 
bae054372aba ("selftests/livepatch: add DYNAMIC_DEBUG config dependency")

How does kselftest-merge verify dependencies?

CONFIG_LIVEPATCH has its own list of configuration dependencies (see 
kernel/livepatch/Kconfig) but we don't list all of those in this config 
file.  Just curious.

Thanks,

-- Joe
diff mbox series

Patch

diff --git a/tools/testing/selftests/livepatch/config b/tools/testing/selftests/livepatch/config
index 0dd7700464a8..ad23100cb27c 100644
--- a/tools/testing/selftests/livepatch/config
+++ b/tools/testing/selftests/livepatch/config
@@ -1 +1,3 @@ 
+CONFIG_LIVEPATCH=y
+CONFIG_DYNAMIC_DEBUG=y
 CONFIG_TEST_LIVEPATCH=m