diff options
| author | Tom Rini <trini@konsulko.com> | 2026-02-27 09:26:13 -0600 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2026-02-27 12:27:39 -0600 |
| commit | 8d636eae30510be0cd2f3a20cbf6d06dc80413d8 (patch) | |
| tree | 504cd1453fe3d619f1cdeaf0fb7f05f0576c234a /scripts/kconfig/tests/conftest.py | |
| parent | 37b4e7e9e433e32e2d40226c76b8cd09eefb01ab (diff) | |
resync with 6.1CHECK/resync-scripts-kconfig
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'scripts/kconfig/tests/conftest.py')
| -rw-r--r-- | scripts/kconfig/tests/conftest.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/kconfig/tests/conftest.py b/scripts/kconfig/tests/conftest.py index 0345ef6e327..af8774a5697 100644 --- a/scripts/kconfig/tests/conftest.py +++ b/scripts/kconfig/tests/conftest.py @@ -53,6 +53,10 @@ class Conf: # Override 'srctree' environment to make the test as the top directory extra_env['srctree'] = self._test_dir + # Clear KCONFIG_DEFCONFIG_LIST to keep unit tests from being affected + # by the user's environment. + extra_env['KCONFIG_DEFCONFIG_LIST'] = '' + # Run Kconfig in a temporary directory. # This directory is automatically removed when done. with tempfile.TemporaryDirectory() as temp_dir: |
