<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/testsuite.py, branch v2.2.4</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v2.2.4</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v2.2.4'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-01-22T19:04:41Z</updated>
<entry>
<title>Simplify escape()</title>
<updated>2018-01-22T19:04:41Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-01-22T18:20:13Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=532b561288f6a9628073e68aaa51b87d9c20e838'/>
<id>urn:sha1:532b561288f6a9628073e68aaa51b87d9c20e838</id>
<content type='text'>
The fancy regex isn't really justified. Much faster with replace() too,
though this is an unlikely hotspot.

Could have used a \g&lt;0&gt; backreference to refer to the entire match
instead of using a capturing group too. Hadn't discovered that.

Add some selftests for escape() and unescape() too.
</content>
</entry>
<entry>
<title>Whitespace nits</title>
<updated>2018-01-21T16:37:06Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-01-21T16:36:06Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=a85b087891913f93e7e334f372358bd48306e800'/>
<id>urn:sha1:a85b087891913f93e7e334f372358bd48306e800</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Get rid of _next_help_line()</title>
<updated>2018-01-20T04:19:42Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-01-20T04:05:49Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=707204ac4a5539c9b4d4875d12fec340ba95c1a2'/>
<id>urn:sha1:707204ac4a5539c9b4d4875d12fec340ba95c1a2</id>
<content type='text'>
Speeds things up a bit further.

Rework the unget handling to save the ungotten line directly instead of
using a flag.

Add some help texts to tests/Klocation to make sure the line number is
updated properly for those.
</content>
</entry>
<entry>
<title>Improve recursive 'source' test</title>
<updated>2018-01-17T13:10:02Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-01-17T13:08:17Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=3c0e931b553d0c633e65a6dc36cf5aab0a544753'/>
<id>urn:sha1:3c0e931b553d0c633e65a6dc36cf5aab0a544753</id>
<content type='text'>
Check for incorrect exceptions instead of propagating them, and get rid
of the flag.
</content>
</entry>
<entry>
<title>Detect recursive 'source' and print backtrace</title>
<updated>2018-01-17T12:53:30Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-01-17T11:56:13Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=7dc5b74229e83876307082712162d48e3124e10b'/>
<id>urn:sha1:7dc5b74229e83876307082712162d48e3124e10b</id>
<content type='text'>
Easier to debug than a RecursionError.

Point out in the exception message that a common cause is environment
variables not being set correctly.
</content>
</entry>
<entry>
<title>Get TRI_TO_STR from Kconfiglib in test suite</title>
<updated>2018-01-16T14:20:01Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-01-16T14:20:01Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=166a24edf71b35c6df9c638274dc82a5d82b1387'/>
<id>urn:sha1:166a24edf71b35c6df9c638274dc82a5d82b1387</id>
<content type='text'>
Old code.
</content>
</entry>
<entry>
<title>Do not optimize promptless choice symbols</title>
<updated>2018-01-16T02:51:06Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-01-16T02:43:30Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=ef5091f587796d0d5bba811e5ddacc53fa6d9198'/>
<id>urn:sha1:ef5091f587796d0d5bba811e5ddacc53fa6d9198</id>
<content type='text'>
Choice symbols without prompts are pointless and probably nonexistent in
practice, so it's a bit silly to run the no-prompt optimization for
them.

Piggyback copyright year update.
</content>
</entry>
<entry>
<title>Support disabling warnings for redundant assignments</title>
<updated>2018-01-15T12:39:15Z</updated>
<author>
<name>Sebastian Bøe</name>
<email>sebastian.boe@nordicsemi.no</email>
</author>
<published>2018-01-15T11:46:30Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=94c63de77c7a3422347e59e168b05174d0b9e84d'/>
<id>urn:sha1:94c63de77c7a3422347e59e168b05174d0b9e84d</id>
<content type='text'>
The Linux Kernel's merge_config.sh defaults to disabling warnings for
redundant assignments and has support for enabling them
specifically. This patch reproduces this behaviour in kconfiglib
except that we retaing kconfiglib's default behaviour of enabling the
warnings.

Signed-off-by: Sebastian Bøe &lt;sebastian.boe@nordicsemi.no&gt;
</content>
</entry>
<entry>
<title>Mention that $CONFIG_ is used for C headers too</title>
<updated>2018-01-11T14:44:16Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-01-11T14:31:10Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=1c96f432946cec67eb77b0a5f4300818031d6636'/>
<id>urn:sha1:1c96f432946cec67eb77b0a5f4300818031d6636</id>
<content type='text'>
Piggyback some cleanup and redundant comment removal.
</content>
</entry>
<entry>
<title>Don't write out 'option env' symbols to C header</title>
<updated>2018-01-05T20:38:57Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-01-05T19:37:00Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=5d693b2e66451aedfd694ffde4dba7d4b74afa46'/>
<id>urn:sha1:5d693b2e66451aedfd694ffde4dba7d4b74afa46</id>
<content type='text'>
Oversight. SYMBOL_AUTO (env_var) being set indirectly clears
SYMBOL_WRITE (_write_to_conf) in sym_calc_value(). The .config case was
already fine due to an explicit env_var check.

Even non-visible env. symbols ended up in the header, due to
'option env' internally adding a default.

Disallow user values altogether on 'option env' symbols, even if
specified manually. This matches the C implementation. Add a warning
too.
</content>
</entry>
</feed>
