From 6817b67efeea40288f1ad840141a1c41e03ded9a Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Tue, 6 Mar 2018 01:22:20 +0100 Subject: testsuite.py: Use 'srcarch' instead of '_arch' in test_defconfig() Makes sense as SRCARCH holds the arch/ subdirectory and _arch might be confused for ARCH. --- testsuite.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testsuite.py b/testsuite.py index b47784f..a2522e4 100644 --- a/testsuite.py +++ b/testsuite.py @@ -2015,8 +2015,8 @@ def test_defconfig(conf, arch, srcarch): if obsessive: # Collect all defconfigs. This could be done once instead, but it's # a speedy operation comparatively. - for arch_ in os.listdir("arch"): - add_configs_for_arch(arch_) + for srcarch in os.listdir("arch"): + add_configs_for_arch(srcarch) else: add_configs_for_arch(srcarch) -- cgit v1.2.3