From 1627d43eeba211fea7f9da439467dcad5955df79 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Wed, 17 Jun 2015 23:01:04 +0200 Subject: Make sure scripts/kconfig/conf is built ourselves. Bit friendlier. --- testsuite.py | 10 +++++++--- 1 file 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...") -- cgit v1.2.3