diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2015-06-17 23:01:04 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2015-06-17 23:01:04 +0200 |
| commit | 1627d43eeba211fea7f9da439467dcad5955df79 (patch) | |
| tree | aeea396bc702d2d0839eb0b481ca3e49a10b0981 /testsuite.py | |
| parent | 60960e05e9a6eee89e5137daed5884f423e6af24 (diff) | |
Make sure scripts/kconfig/conf is built ourselves.
Bit friendlier.
Diffstat (limited to 'testsuite.py')
| -rw-r--r-- | testsuite.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/testsuite.py b/testsuite.py index 0fb9992..1138f60 100644 --- a/testsuite.py +++ b/testsuite.py @@ -16,9 +16,6 @@ # SRCARCH. (These would be set in the Makefiles in that case.) Safe as of # Linux 4.1.0-rc8. # -# NOTE: Speedy mode requires scripts/kconfig/conf to have been built. Run -# e.g. 'make defconfig' first to generate it in a fresh kernel tree. -# # - obsessive: # By default, only valid arch/defconfig pairs will be tested. With this # enabled, every arch will be tested with every defconfig, which increases @@ -1822,6 +1819,13 @@ def run_compatibility_tests(): print("Loading Config instances for all architectures...") arch_configs = get_arch_configs() + if speedy_mode and not os.path.exists("scripts/kconfig/conf"): + print("\nscripts/kconfig/conf does not exist -- running " + "'make allnoconfig' to build it...") + for var in ("ARCH", "SRCARCH", "srctree"): + os.environ.pop(var, None) + shell("make allnoconfig") + for (test_fn, compare_configs) in all_arch_tests: print("\nUnsetting user values on all architecture Config instances " "prior to next test...") |
