<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/testsuite.py, branch v4.2.1</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v4.2.1</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v4.2.1'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-04-11T19:40:14Z</updated>
<entry>
<title>Add helper for splitting expressions</title>
<updated>2018-04-11T19:40:14Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-04-11T18:35:40Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=105c835e70a5bb80a256b3d10d1d03dee7bb23db'/>
<id>urn:sha1:105c835e70a5bb80a256b3d10d1d03dee7bb23db</id>
<content type='text'>
I've had to implement the logic for walking reverse dependencies (from
select) a couple of times now, and it's always a bit tricky to get
right. Reduce code duplication and simplify things by adding a helper
function split_expr() that splits an expression into a list of either
its AND or OR operands.

A nice side effect is that e.g. the warning generated for selecting a
symbol with unsatisfied direct dependencies now lists the selecting
symbols in the order that they appear in the Kconfig files.

split_expr() might be helpful for splitting other types of expressions
as well, e.g. to put operands on separate lines when generating
documentation.
</content>
</entry>
<entry>
<title>Set is_menuconfig True on the top menu</title>
<updated>2018-04-05T07:03:15Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-04-05T07:00:04Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=981d24aff765794f4ab440f29b1543a118222357'/>
<id>urn:sha1:981d24aff765794f4ab440f29b1543a118222357</id>
<content type='text'>
Oversight
</content>
</entry>
<entry>
<title>Generalize is_menuconfig to non-symbol items</title>
<updated>2018-04-04T14:44:58Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-04-04T14:20:58Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=2259d353426f12d5fa807075fb4727e64331ac8a'/>
<id>urn:sha1:2259d353426f12d5fa807075fb4727e64331ac8a</id>
<content type='text'>
Extending the scope of is_menuconfig so that it's True for all items
whose children should be displayed in a separate menu turns out to be
handy when implementing menuconfig-like functionality.

Keep the old name for backwards compatibility. It's good enough.
</content>
</entry>
<entry>
<title>Parenthesize &amp;&amp; expressions within || expressions</title>
<updated>2018-03-28T18:29:20Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-03-28T18:29:20Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=7245bad9ebb58fc8ce5a322081fc6c39d2dc59c6'/>
<id>urn:sha1:7245bad9ebb58fc8ce5a322081fc6c39d2dc59c6</id>
<content type='text'>
This is redundant from an evaluation perspective, as &amp;&amp; has higher
precedence than ||, but is easier to read.

A &amp;&amp; B || C &amp;&amp; D is now rendered as "(A &amp;&amp; B) || (C &amp;&amp; D)".
</content>
</entry>
<entry>
<title>Refactor expr_str() cases</title>
<updated>2018-03-26T13:15:07Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-03-26T13:12:09Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=6ef362c490bc2608c971eeabd5930ea0d8893dbe'/>
<id>urn:sha1:6ef362c490bc2608c971eeabd5930ea0d8893dbe</id>
<content type='text'>
 - Detect Symbol directly instead of as (not tuple) + (not choice)

 - Test explicitly for a tuple (non-Symbol) in NOT

 - Add some tests to get better coverage for NOT and parentheses
</content>
</entry>
<entry>
<title>testsuite.py: Remove redundant enable_warnings() call</title>
<updated>2018-03-23T18:33:10Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-03-23T18:33:10Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=1e147d4cdecf70bf1236b8a67c0ff28e1fcd0f46'/>
<id>urn:sha1:1e147d4cdecf70bf1236b8a67c0ff28e1fcd0f46</id>
<content type='text'>
The Kconfig object is replaced immediately after it.
</content>
</entry>
<entry>
<title>Warn if user (.config) value is outside of 'range'</title>
<updated>2018-03-23T18:10:08Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-03-23T02:37:49Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=7ba79cafa8e03af90dea0c4378e024d24a7d64b7'/>
<id>urn:sha1:7ba79cafa8e03af90dea0c4378e024d24a7d64b7</id>
<content type='text'>
Example warning:

  warning: user value 0x100 on the hex symbol HEX (defined at Kconfig:18) ignored due to being outside the active range ([0x13, 0x73]) -- falling back on defaults

This is a Kconfiglib-exclusive warning. It might be tricky to implement
in the C tools, due to weird two-phase handling of int/hex symbols.

There is unfortunately no easy way to map the warning back to a .config
line, as the active 'range' can't be known in general until the entire
configuration has been read (consider 'range 0 10 if FOO' for example).
Instead, the warning is generated when the symbol value is calculated.
</content>
</entry>
<entry>
<title>Remove TILE architecture from test suite</title>
<updated>2018-03-17T14:59:14Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-03-17T14:54:09Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=e6506800714dfbdcf0843473726faa9e78453f2e'/>
<id>urn:sha1:e6506800714dfbdcf0843473726faa9e78453f2e</id>
<content type='text'>
Removed in linux-next.
</content>
</entry>
<entry>
<title>Test grsource with nonexistent file</title>
<updated>2018-03-13T05:35:41Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-03-13T05:32:47Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=044310b6398b4e0e914deda00509ad86febc521b'/>
<id>urn:sha1:044310b6398b4e0e914deda00509ad86febc521b</id>
<content type='text'>
Just for completeness.
</content>
</entry>
<entry>
<title>Add a globbing source statement</title>
<updated>2018-03-13T04:04:44Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-03-13T02:24:41Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=daac69dc05217d024fbe021447629fa2b3d95b70'/>
<id>urn:sha1:daac69dc05217d024fbe021447629fa2b3d95b70</id>
<content type='text'>
'gsource' works like 'source', but takes a glob pattern and sources all
matching files. Works as a no-op if no files match, and hence doubles as
an include-if-exists function, similar to '-include' in 'make'.

Add a 'grsource' statement as well, mirroring 'rsource'.

Came up in https://github.com/ulfalizer/Kconfiglib/pull/40.
</content>
</entry>
</feed>
