<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/testsuite.py, branch main</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=main</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2026-02-02T07:22:15Z</updated>
<entry>
<title>drop support for Python 2.x as it is very much EOL</title>
<updated>2026-02-02T07:22:15Z</updated>
<author>
<name>Benjamin Cabé</name>
<email>benjamin@zephyrproject.org</email>
</author>
<published>2025-10-23T15:25:08Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=24aef157aead07f813f874f43ee471b057e622cb'/>
<id>urn:sha1:24aef157aead07f813f874f43ee471b057e622cb</id>
<content type='text'>
A follow-up to b96a5ad562deffa697d966c29546650aae645f48 where we stopped
having CI run tests on Python 2.x. This actually drops the few remaining
Python 2.x compatibility bits as Python 2.x has EOL'd a long time ago.

Signed-off-by: Benjamin Cabé &lt;benjamin@zephyrproject.org&gt;
Signed-off-by: Torsten Rasmussen &lt;Torsten.Rasmussen@nordicsemi.no&gt;
</content>
</entry>
<entry>
<title>kconfiglib: add origin test</title>
<updated>2025-10-20T10:34:58Z</updated>
<author>
<name>Luca Burelli</name>
<email>l.burelli@arduino.cc</email>
</author>
<published>2025-09-19T09:17:39Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=95de62d808f4447da2456201d226969e5815b459'/>
<id>urn:sha1:95de62d808f4447da2456201d226969e5815b459</id>
<content type='text'>
This patch adds a test for the origin feature added in the series.

Signed-off-by: Luca Burelli &lt;l.burelli@arduino.cc&gt;
</content>
</entry>
<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>
</feed>
