summaryrefslogtreecommitdiff
path: root/tests/Kmisc
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2017-11-01 23:53:38 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2017-11-02 04:31:58 +0100
commit6bce225d38433c9b14ff94ff0fb66d1ac87ff4e3 (patch)
tree9a791af7fde6293d0581d4b3543681ccbce26d6a /tests/Kmisc
parent3ac8c0f577c79ebcac1d4cd267ee774af107c092 (diff)
Do not invalidate everything when loading .configs
In replace mode, only unset symbols that didn't get set. Get rid of _set_value_no_invalidate() and just do a normal set_value() with invalidation. It's speedy with the new invalidation algorithm, and simpler. Not a big performance boost (but a small one), but means that invalidation must be even more rock solid for the test suite to pass (no global invalidations to hide behind), which is nice. Also make y assignments to choice symbol update just the choice user value. Gives nicer behavior when the choice mode is changed.
Diffstat (limited to 'tests/Kmisc')
-rw-r--r--tests/Kmisc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Kmisc b/tests/Kmisc
index c3a21f8..cea3ca9 100644
--- a/tests/Kmisc
+++ b/tests/Kmisc
@@ -39,13 +39,13 @@ config BOOL
bool "bool" if NOT_DEFINED_1
config TRISTATE
- tristate # Visibility should not affect user value
+ tristate "A"
config STRING
string "string"
config INT
- int # Visibility should not affect user value
+ int "INT"
config HEX
hex "hex"