[PATCH 0/4] kconfig: tests: Minor fixes and cleanups for warn_changed_input

From: Nicolas Schier

Date: Thu Sep 17 2026 - 09:42:33 EST


This patch-set contains two minor fixes and some related cleanup for the
warn_changed_input test:

* The kconfig test 'warn_changed_input' fails if the environment
variable KCONFIG_WARN_CHANGED_INPUT is set non-empty. The first
patch resets KCONFIG_WARN_CHANGED_INPUT by default for all tests
to make the 'warn_changed_input' test more stable.

* The kconfig test framework provides 'olddefconfig' and
'savedefconfig' wrappers, which fail short when it comes to real
usage. The 'warn_changed_input' worked-around by calling the
framework-internal '_run_conf' function. The remaining three
patches extend 'olddefconfig' and 'savedefconfig' wrappers and
simplify 'warn_changed_input' appropriately.

Signed-off-by: Nicolas Schier <n.schier@xxxxxxxxx>
---
Nicolas Schier (4):
kconfig: tests: Reset KCONFIG_WARN_CHANGED_INPUT by default
kconfig: tests: Provide defconfig outfile for savedefconfig
kconfig: tests: warn_changed_input: Simplify by reusing the extra env
kconfig: tests: {old,save}defconfig: Forward dynamic keyword arguments

scripts/kconfig/tests/conftest.py | 18 ++++++++++++++----
.../kconfig/tests/warn_changed_input/__init__.py | 21 ++++++++-------------
2 files changed, 22 insertions(+), 17 deletions(-)
---
base-commit: 237a1c39e8dfd3e1c6f1f023eea37a48ec04cc63
change-id: 20260917-kconfig-tests-minor-updates-c0871950c6fa

Best regards,
--
Nicolas Schier