diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-07-10 14:16:08 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-07-10 14:19:04 +0200 |
| commit | 21b5351c3721359dbd28937c95e75ba4b435f0b7 (patch) | |
| tree | 1181c464c90bfde779e57c149cb455ad6ae7bdaa /testsuite.py | |
| parent | 652d9916b12e1b2ee918b61d04ff23226d2fa4cd (diff) | |
Warn if int/hex 'default' is outside active 'range'
Only out-of-range user values generated warnings before.
The C tools warn for neither of them.
Diffstat (limited to 'testsuite.py')
| -rw-r--r-- | testsuite.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite.py b/testsuite.py index c18e69f..a8254ea 100644 --- a/testsuite.py +++ b/testsuite.py @@ -256,7 +256,7 @@ def run_selftests(): print("Testing expression evaluation") - c = Kconfig("Kconfiglib/tests/Keval") + c = Kconfig("Kconfiglib/tests/Keval", warn=False) def verify_eval(expr, val): res = c.eval_string(expr) @@ -1297,7 +1297,7 @@ g print("Testing hex/int ranges") - c = Kconfig("Kconfiglib/tests/Krange") + c = Kconfig("Kconfiglib/tests/Krange", warn=False) for sym_name in "HEX_NO_RANGE", "INT_NO_RANGE", "HEX_40", "INT_40": sym = c.syms[sym_name] |
