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

Li Wang liwang@redhat.com
Fri Nov 6 11:32:38 CET 2020


On Fri, Nov 6, 2020 at 6:30 PM Cyril Hrubis <chrubis@suse.cz> wrote:

> 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.
>

That would be great, thank you!

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20201106/aaf5cc1a/attachment.htm>


More information about the ltp mailing list