From 2433deba7889931c4bae679f116887fe49a2ce04 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Tue, 3 Jul 2018 18:30:06 +0200 Subject: Add Kconfig preprocessor Implement the Kconfig preprocessor described in https://github.com/torvalds/linux/blob/master/Documentation/kbuild/kconfig-macro-language.txt (which is now in linux-next and will appear in Linux 4.18). A new Kconfig.variables property holds all the preprocessor variables so that they can be inspected programmatically. Preprocessor variables are represented by a new Variable class. With the preprocessor, environment variables are referenced with $(FOO) instead of $FOO. For backwards compatibility, $FOO is accepted as well for now (and leaves "$FOO" as-is if FOO doesn't exist). The $FOO syntax might be dropped at some point in the future (together with a major version increase). It should be supported for a few months at least. Some internals were cleaned up too, mostly related to parsing. Some outdated documentation was fixed as well. --- tests/reltest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/reltest') diff --git a/tests/reltest b/tests/reltest index cd31711..0916c7a 100755 --- a/tests/reltest +++ b/tests/reltest @@ -23,7 +23,7 @@ test_script() { for py in python2 python3; do echo -e "\n================= Test suite with $py =================\n" - if ! $py Kconfiglib/testsuite.py speedy; then + if ! $py Kconfiglib/testsuite.py; then echo "test suite failed for $py" exit 1 fi -- cgit v1.2.3