diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-03-06 01:22:20 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-03-06 01:23:29 +0100 |
| commit | 6817b67efeea40288f1ad840141a1c41e03ded9a (patch) | |
| tree | b89591ece840ae5ff50129875d7ca8445d91f46e | |
| parent | 4070b29473d74ae586f39b984d211ac11a3a164b (diff) | |
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.
| -rw-r--r-- | testsuite.py | 4 |
1 files 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) |
