Skip to content

Add support for kconfig strings

Richard Palethorpe ltp 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest0 of 2 patches 0 repliesNew

Patches in v2 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchRichard Palethorpe
SeriesR-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [LTP] [PATCH v2 0/2] Add support for kconfig strings

Hello,

Quoted 8 lines · Cyril Hrubis

We add a support for strings into the boolean tokenizer and also validator for kconfig variables into the kconfig parser so that we find most of the typos even before we attempt to evaluate the expressions.

Cyril Hrubis (2):
lib: tst_bool_expr: Add support for strings
lib/tst_kconfig: Validate variables

Quoted 16 lines
 lib/newlib_tests/.gitignore       |   1 +
 lib/newlib_tests/config01         |   1 +
 lib/newlib_tests/config02         |   1 +
 lib/newlib_tests/config03         |   1 +
 lib/newlib_tests/config04         |   1 +
 lib/newlib_tests/config05         |   1 +
 lib/newlib_tests/test_kconfig.c   |   1 +
 lib/newlib_tests/test_kconfig02.c |  29 +++++++++
 lib/newlib_tests/tst_bool_expr.c  |   3 +
 lib/tst_bool_expr.c               |   7 ++
 lib/tst_kconfig.c                 | 102 ++++++++++++++++++++++++++++++
 11 files changed, 148 insertions(+)
 create mode 100644 lib/newlib_tests/test_kconfig02.c
Signature · 1 line
2.26.2

LGTM

Signature · 2 lines
Thank you,
Richard.