summaryrefslogtreecommitdiff
path: root/kconfigtest.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2012-12-09 01:35:15 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2012-12-09 01:35:15 +0100
commitbe7706762edce04aaaf0a12d70f1721a61ddd83c (patch)
tree713ed0434d692095000576e537fc020cc656f318 /kconfigtest.py
parent7a36a3f521e321cba66c5f6e1832c5c001bf84f8 (diff)
Motivate KERNELVERSION assignment in test suite.
Diffstat (limited to 'kconfigtest.py')
-rw-r--r--kconfigtest.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/kconfigtest.py b/kconfigtest.py
index d05cd71..fe69a94 100644
--- a/kconfigtest.py
+++ b/kconfigtest.py
@@ -47,10 +47,11 @@ speedy_mode = False
obsessive_mode = False
log_mode = False
-# Assume that the value of KERNELVERSION does not affect the configuration
-# (true as of Linux 2.6.38-rc3). Here we could fetch the correct version
-# instead.
-os.environ["KERNELVERSION"] = "2"
+# Assign this to avoid warnings from Kconfiglib. Nothing in the kernel's
+# Kconfig files seems to actually look at the value as of 3.7.0-rc8. This is
+# only relevant for the test suite, as this will get set by the kernel Makefile
+# when using (i)scriptconfig.
+os.environ["KERNELVERSION"] = "3.7.0"
# Prevent accidental loading of configuration files by removing
# KCONFIG_ALLCONFIG from the environment