<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/testsuite.py, branch v14.1.1a4</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v14.1.1a4</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v14.1.1a4'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2024-10-04T00:10:07Z</updated>
<entry>
<title>Update various outdated links and contact information</title>
<updated>2024-10-04T00:10:07Z</updated>
<author>
<name>Stephanos Ioannidis</name>
<email>root@stephanos.io</email>
</author>
<published>2024-10-03T16:05:31Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=0f321f8c29b2b4b43fc2875573b27d6d77638f1d'/>
<id>urn:sha1:0f321f8c29b2b4b43fc2875573b27d6d77638f1d</id>
<content type='text'>
This commit updates various outdated links and contact information
throughout the repository.

Signed-off-by: Stephanos Ioannidis &lt;root@stephanos.io&gt;
</content>
</entry>
<entry>
<title>Make header strings customizable via the environment</title>
<updated>2019-11-17T04:32:59Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-11-17T02:41:12Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=de45874719772a40f1d8d244e2f5a6c6036415ac'/>
<id>urn:sha1:de45874719772a40f1d8d244e2f5a6c6036415ac</id>
<content type='text'>
If no header string is specified in write_(min_)config() or
write_autoconf(), use the values of the environment variables
KCONFIG_CONFIG_HEADER and KCONFIG_AUTOHEADER_HEADER, respectively, if
set. KCONFIG_AUTOHEADER_HEADER is consistent with KCONFIG_AUTOHEADER
(the header path), which will be added soon.

Using environment variables avoids having to add separate flags to each
tool that writes configuration files or headers.

Like for $prefix and $CONFIG_, store the values of the environment
variables when the Kconfig instance is created, and expose them via
Kconfig.config_header and Kconfig.header_header. This if flexible and
avoids gotchas when working with multiple Kconfig instances.

Also remove the old default header and make the default no header. Less
advertising, but it felt a bit silly to add workarounds to keep it.

Came up in https://github.com/ulfalizer/Kconfiglib/pull/80.
</content>
</entry>
<entry>
<title>Add public helpers for generating "&lt;name&gt; (defined at ...)" strings</title>
<updated>2019-10-29T17:30:46Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-10-29T15:41:03Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=e1ccf19f9f5fc896dfeef15883d2cb455cbbb937'/>
<id>urn:sha1:e1ccf19f9f5fc896dfeef15883d2cb455cbbb937</id>
<content type='text'>
Have Symbol/Choice.name_and_loc return strings like

    "MY_SYM (defined at foo:1, bar:2)"
    "&lt;choice&gt; (defined at foo:4)"

I've added a function like that in at least four different scripts now,
so that's probably a sign that it's a worthwhile helper.

Clean up the tests/Klocation tests a bit while adding tests.
</content>
</entry>
<entry>
<title>testsuite: Remove unused imports</title>
<updated>2019-10-10T09:02:20Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-10-10T09:01:54Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=2a6ade98bc73623d945fa7cef816dcfc60960883'/>
<id>urn:sha1:2a6ade98bc73623d945fa7cef816dcfc60960883</id>
<content type='text'>
Reported by pylint.
</content>
</entry>
<entry>
<title>Make preprocessor nested parens test slightly trickier</title>
<updated>2019-09-26T10:11:23Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-09-26T10:11:23Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=4185b0b3193345f793ca7a5268fb67ab65e57655'/>
<id>urn:sha1:4185b0b3193345f793ca7a5268fb67ab65e57655</id>
<content type='text'>
Macros should still be expanded within nested parentheses. Test it.
</content>
</entry>
<entry>
<title>Fix handling of parentheses in macro argument values</title>
<updated>2019-09-26T09:52:22Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-09-25T18:25:06Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=720ce88a839cc9966d4b5dfbcdbe868c33cb5965'/>
<id>urn:sha1:720ce88a839cc9966d4b5dfbcdbe868c33cb5965</id>
<content type='text'>
As an oversight, there was no check for nested parentheses in macro
arguments, making the preprocessor think the call ended after 'void)' in

    def_bool $(success,echo 'void foo(void) { asm inline (""); }' | $(CC) -x c - -c -o /dev/null)

This broke the latest linux-next kernels, starting with commit
eb111869301e1 ("compiler-types.h: add asm_inline definition").

I remember seeing this when going through the C code, but somehow forgot
to put it in. Fix it, and clean up _expand_macro() a bit at the same
time.

Fixes: #76
</content>
</entry>
<entry>
<title>Allow preprocessor user functions to access the parsing location</title>
<updated>2019-09-04T19:14:12Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-09-04T18:44:24Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=26e1db651e18fd65fe7374b404a30e20f601969f'/>
<id>urn:sha1:26e1db651e18fd65fe7374b404a30e20f601969f</id>
<content type='text'>
Just requires making Kconfig.filename/linenr public.

'lineno' would be a more standard name, but be consistent with
MenuNode.linenr.
</content>
</entry>
<entry>
<title>'if' removal test code nit</title>
<updated>2019-07-10T22:29:37Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-07-09T07:37:10Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=a8c72fa9f0d51f1692c189f9b88097f3babfc6da'/>
<id>urn:sha1:a8c72fa9f0d51f1692c189f9b88097f3babfc6da</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Catch EnvironmentError instead of OSError/IOError</title>
<updated>2019-07-01T22:03:02Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-07-01T20:52:17Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=e5e2fe5a6f084fb98c2c9b4adec0383fec4a5256'/>
<id>urn:sha1:e5e2fe5a6f084fb98c2c9b4adec0383fec4a5256</id>
<content type='text'>
menuconfig.py tended to crash on I/O errors on Python 2, due to
forgetting to update some 'except OSError's. Catch EnvironmentError
instead.

EnvironmentError is a common base class of IOError and OSError on Python
2, and an alias for OSError on Python 3. Use it elsewhere too, as it
might help catch obscure I/O errors on Python 2.
</content>
</entry>
<entry>
<title>Add {Symbol,Choice}.orig_*, corresponding to the MenuNode fields</title>
<updated>2019-06-24T06:57:38Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-06-24T06:18:06Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=0ca8e78ebaed9ded586162753e8224f8ce7ef4a2'/>
<id>urn:sha1:0ca8e78ebaed9ded586162753e8224f8ce7ef4a2</id>
<content type='text'>
Getting defaults, select, implies, and ranges without dependencies
propagated to conditions can be useful for symbols and choices as well,
e.g. when generating standalone documentation for properties.
</content>
</entry>
</feed>
