[LTP] [PATCH v4 2/2] lib/tst_kconfig: Make use of boolean expression eval

Cyril Hrubis chrubis@suse.cz
Fri Nov 6 11:31:08 CET 2020


Hi!
> I tried with more complicated configurations for test parsing, most works
> as expected but except the below one with parentheses ():
> 
>     "CONFIG_DEFAULT_HOSTNAME=\"(none)\"",
> 
> That's because the parentheses are the element of expression and used
> to distinguish tokens, I???m not sure whether we can change it as a general
> character to fix this problem, if no, we might need to comment on this in
> the documentation.

Well we would have to teach the tokenizer about strings, i.e. treat
everything inside of double quotes as single token. That shouldn't be
that hard, I can try to add this later on.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list