summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2017-09-29 02:10:55 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2017-09-29 06:03:38 +0200
commit35e8acdb2d49f279862a99ea129a9bb260b0bc4a (patch)
tree9dc7ac9e5f2bd03ce5c21175d0d1e62cade6513f /tests
parentf56ebf74f470431b0d262d2ce6f95d442b58f2f9 (diff)
Only invalidate defined symbols
Think I had it in the back of my head somewhere that not invalidating undefined symbols could break some obscure cases, but turns out it's perfectly safe: Nothing can change the value of an undefined symbol. They always get their name as their value. There's no need to unset user values on them either, because set_user_value() already refuses to to set one on them. Lets us get rid of the Python 2/3 compatibility hack and instead iterate over a plain list of defined symbols.
Diffstat (limited to 'tests')
-rw-r--r--tests/Kchain3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Kchain b/tests/Kchain
index 643a949..d742c9e 100644
--- a/tests/Kchain
+++ b/tests/Kchain
@@ -75,6 +75,9 @@ config CHAIN_IMPLY_RELAY
default y
imply CHAIN_18 if CHAIN_17
+config CHAIN_18
+ tristate "chain 19"
+
if CHAIN_18 = 0
config CHAIN_19
tristate "chain 19"