From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Palethorpe Date: Wed, 18 Nov 2020 10:22:01 +0000 Subject: [LTP] [PATCH v2 0/2] Add support for kconfig strings In-Reply-To: <20201112154748.17857-1-chrubis@suse.cz> References: <20201112154748.17857-1-chrubis@suse.cz> Message-ID: <87wnyjnewm.fsf@suse.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hello, Cyril Hrubis writes: > 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 > > 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 > > -- > 2.26.2 LGTM Reviewed-by: Richard Palethorpe -- Thank you, Richard.