summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-01-30 10:58:24 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2018-01-30 10:58:24 +0100
commitef627e02c8c3f5423e25e2a53eb61889d610ca60 (patch)
treebc7b49452acdc924b117c77ffb0454c6b1e80857
parent0eadd61c05c523a150721f9646e4d3f7cff58e5c (diff)
Fix warnings printed for test suite
Just to have clean output. The warnings themselves are accurate.
-rw-r--r--tests/Keval1
-rw-r--r--testsuite.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/Keval b/tests/Keval
index 4f63247..1e64b83 100644
--- a/tests/Keval
+++ b/tests/Keval
@@ -11,6 +11,7 @@ config M
menuconfig Y
def_tristate y
+ prompt "foo"
config Y_STRING
string
diff --git a/testsuite.py b/testsuite.py
index 083568d..adcadfd 100644
--- a/testsuite.py
+++ b/testsuite.py
@@ -793,7 +793,8 @@ g
os.environ["EXPANDED_FROM_ENV"] = "tests"
os.environ["srctree"] = "Kconfiglib/"
- c = Kconfig("tests/Klocation")
+ # Has symbol with empty help text, so disable warnings
+ c = Kconfig("tests/Klocation", warn=False)
os.environ.pop("EXPANDED_FROM_ENV", None)
os.environ.pop("srctree", None)