<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/testsuite.py, branch v3.1.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v3.1.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v3.1.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-02-16T09:10:34Z</updated>
<entry>
<title>Include direct deps. in Symbol/Choice.__str__()</title>
<updated>2018-02-16T09:10:34Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-02-16T09:05:16Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=2a88c0cc5707eb0761d87cfd2ca171ce687258fc'/>
<id>urn:sha1:2a88c0cc5707eb0761d87cfd2ca171ce687258fc</id>
<content type='text'>
Direct dependencies are significant for 'imply' even if the symbol has
no properties, so they need to be included to get semantically
equivalent output.

Making the direct dependencies clear is helpful in general too, even if
you can usually infer them from the properties they get propagated to.
</content>
</entry>
<entry>
<title>Don't special-case user_value for choice symbols set to y</title>
<updated>2018-02-08T09:14:48Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-02-08T05:03:44Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=e8b4ecb6ff6ccc1c7be0818314fbccda2ef2b2ee'/>
<id>urn:sha1:e8b4ecb6ff6ccc1c7be0818314fbccda2ef2b2ee</id>
<content type='text'>
Previously, setting a choice symbol to y would only update
user_selection on the parent choice and not the symbol's own user_value.
Now both are updated.

The point of the old behavior was to remember the m mode selections of a
choice when it was switched back and forth between m and y mode, which
was a feature I thought the C implementation had. On closer inspection,
the C implementation never had that feature, though it might appear like
it if you only make "lucky" changes (if you never select any symbols in
y mode that were n in m mode).

The new behavior is simpler and easier to understand: Symbol.user_value
now always matches the value assigned in a .config file or via
set_value(), provided the value was well-formed. This might avoid some
special-casing in scripts too.

The loss in usability is pretty minimal.
</content>
</entry>
<entry>
<title>Add back omitted $ARCH != $SRCARCH defconfig tests</title>
<updated>2018-02-07T05:34:22Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-02-07T05:00:19Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=a811c1d9e578a44078d81a50408da8d8affb10eb'/>
<id>urn:sha1:a811c1d9e578a44078d81a50408da8d8affb10eb</id>
<content type='text'>
Oversight during refactoring. defconfig files should be searched for in
in arch/$SRCARCH/ rather than arch/$ARCH/, to account for
$ARCH != $SRCARCH.

Adds a few tests to test_defconfig(). Some of the ARCH/defconfig
combinations might be nonsensical, but that's fine.

Make all test functions take $SRCARCH as well as $ARCH, which makes the
implementation straightforward.
</content>
</entry>
<entry>
<title>Refactor test suite arch Kconfig loading</title>
<updated>2018-02-03T18:18:22Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-02-03T18:18:22Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=35e5a38035fe55ea28790d76876ea24262dea544'/>
<id>urn:sha1:35e5a38035fe55ea28790d76876ea24262dea544</id>
<content type='text'>
List the ARCH/SRCARCH pairs that don't conform to the arch/$ARCH/Kconfig
pattern directly.
</content>
</entry>
<entry>
<title>Set $KERNELVERSION properly in test suite</title>
<updated>2018-02-03T17:13:22Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-02-03T15:50:12Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=e9703d454f6ca9824623a5c2b12860c51c8032d5'/>
<id>urn:sha1:e9703d454f6ca9824623a5c2b12860c51c8032d5</id>
<content type='text'>
Don't think anything currently depends on it where it would matter for
the test suite, but might as well.
</content>
</entry>
<entry>
<title>Fix warnings printed for test suite</title>
<updated>2018-01-30T09:58:24Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-01-30T09:58:24Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=ef627e02c8c3f5423e25e2a53eb61889d610ca60'/>
<id>urn:sha1:ef627e02c8c3f5423e25e2a53eb61889d610ca60</id>
<content type='text'>
Just to have clean output. The warnings themselves are accurate.
</content>
</entry>
<entry>
<title>Add some post-parsing warnings</title>
<updated>2018-01-28T09:56:57Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-01-28T09:02:20Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=9c309400fca07f15d8f4b116c12fa58f97d8043a'/>
<id>urn:sha1:9c309400fca07f15d8f4b116c12fa58f97d8043a</id>
<content type='text'>
These are easiest to check after parsing, since a symbol/choice can be
defined in multiple locations:

 - Warn if a symbol or choice defined without a type. Also warn for
   choice value symbols defined without a type, even if they
   automatically get their type from the choice. This feature isn't
   well-known and probably not used deliberately.

 - Warn if a choice is defined without a prompt

 - Warn of a choice default symbol is not contained in the choice

Also move _name_and_loc_str() from the symbol class to the global scope
and generalize it to be able to handle choices.
</content>
</entry>
<entry>
<title>Flag constant symbols where they're not allowed</title>
<updated>2018-01-28T05:20:12Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-01-28T05:20:01Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=416083ad78ea17d765a993d87c1a46325b908dc5'/>
<id>urn:sha1:416083ad78ea17d765a993d87c1a46325b908dc5</id>
<content type='text'>
Might break U-Boot if they ever upgrade Kconfiglib, because they have a
'select y' in there (which the C tools don't flag since they only look
for quotes), but it's a one-line fix.
</content>
</entry>
<entry>
<title>Support &lt;, &gt; relational operators with tristates</title>
<updated>2018-01-24T23:18:40Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-01-24T22:54:06Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=955ea4e599e39fe3b1f049fe1750fe3c0ad09f5d'/>
<id>urn:sha1:955ea4e599e39fe3b1f049fe1750fe3c0ad09f5d</id>
<content type='text'>
Mirrors 9059a3493ef ("kconfig: fix relational operators for bool and
tristate symbols") in the C implementation.
</content>
</entry>
<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>
</feed>
