<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/testsuite.py, branch v1.0.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v1.0.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v1.0.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2017-09-22T05:02:05Z</updated>
<entry>
<title>Simplify _expr_to_str()</title>
<updated>2017-09-22T05:02:05Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-09-22T03:59:08Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=8f81cbdcc1d35eeb419c96968d4eedbfeee42e55'/>
<id>urn:sha1:8f81cbdcc1d35eeb419c96968d4eedbfeee42e55</id>
<content type='text'>
 - Get rid of _sym_str_string(), which was only used here.

 - Remove 'if expr is None' case that could never trigger

 - Add a test for printing string symbols, as they are a bit tricky:
   Default values should not be evaluated to tristate values.
</content>
</entry>
<entry>
<title>Massively reduce test suite memory usage</title>
<updated>2017-09-21T06:24:11Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-09-21T04:44:34Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=54952e3cd22b5f4812ca9454dc8871f8e63019d7'/>
<id>urn:sha1:54952e3cd22b5f4812ca9454dc8871f8e63019d7</id>
<content type='text'>
Previously we would load all arches once in the beginning and reuse them
throughout the test suite. With 36 arches with all symbols evaluated and
cached, this used many gigabytes of memory (unless the test suite was
run with pypy). Restructure things so that we only keep one arch loaded
at a time. This adds some reparsing, but it's not a big deal.

Do an ugly piggy-backing of some code cleanup in the test suite (mostly
using un-numbered {} with format()).
</content>
</entry>
<entry>
<title>Add support for less/greater than comparisons</title>
<updated>2017-09-20T03:38:19Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-09-19T21:03:22Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=c8df7316d1ed151b93566a61ed9d95da67e17974'/>
<id>urn:sha1:c8df7316d1ed151b93566a61ed9d95da67e17974</id>
<content type='text'>
Was added upstream in 31847b67 (kconfig: allow use of relations other
than (in)equality). Completely unused (and undocumented) in the kernel
except for in DEBUG_UART_8250_WORD in arch/arm/Kconfig.debug:

   depends on DEBUG_UART_8250_SHIFT &gt;= 2

(That line was added before lt/gt support by the way, and assumed a
feature that wasn't there.)

This change (and the upstream one) also slightly changes how
(in)equality comparisons work, making e.g.

  MY_HEX = 0x00037

evaluate to 'y' if MY_HEX is 0x37. Prior to this change, the strings
needed to match exactly.
</content>
</entry>
<entry>
<title>Include 'if' deps. in _determine_actual_symbols()</title>
<updated>2017-09-19T05:29:33Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-09-19T05:06:17Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=4fce6c53e1bdac803c77f0be8bedece22d73c30c'/>
<id>urn:sha1:4fce6c53e1bdac803c77f0be8bedece22d73c30c</id>
<content type='text'>
Previously, only WEIRD_1 and not WEIRD_2 would be considered not a
choice symbol in the following fragment. This lead to a weird warning in
U-Boot.

  choice

  config FOO

  config WEIRD_1
      depends on FOO

  if FOO
  config WEIRD_2
  endif

  endchoice

Also add some testcases for weird choice symbols.
</content>
</entry>
<entry>
<title>testsuite: Use platform.uname() instead of os.uname()</title>
<updated>2017-09-18T23:07:14Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-09-18T23:07:14Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=49977bc0bf84f28abdb8d827cc8e8082207bf883'/>
<id>urn:sha1:49977bc0bf84f28abdb8d827cc8e8082207bf883</id>
<content type='text'>
Portable to non-Unix platforms.
</content>
</entry>
<entry>
<title>Add 'imply' support</title>
<updated>2017-09-18T04:49:44Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-09-17T02:23:40Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=fffd30e6ea060b2abebb7ba9cdf881da00ca4cb9'/>
<id>urn:sha1:fffd30e6ea060b2abebb7ba9cdf881da00ca4cb9</id>
<content type='text'>
This is like a 'select' that only changes the default value of a symbol,
not limiting what values the user can set it to (with one exception: A
symbol implied to 'y' can't be set to 'm').

Symbol.get_implied_symbols() was added, corresponding to
Symbol.get_selected_symbols(), and Symbol.__str__() was extended to
print implied symbols and weak reverse dependencies. Weak reverse
dependencies are the 'imply' version of 'select's reverse dependencies.
</content>
</entry>
<entry>
<title>Add .config header continuation line test.</title>
<updated>2015-07-23T19:54:12Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2015-07-23T19:54:12Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=e15304917c21fbc1d83b02e6ca2e9eb0c8f1963c'/>
<id>urn:sha1:e15304917c21fbc1d83b02e6ca2e9eb0c8f1963c</id>
<content type='text'>
Mostly to get coverage for _FileFeed.peek_next(), which is only used
while reading the header. The tested behavior probably doesn't make much
sense for .config files and stems from _FileFeed reuse. It's fairly
obscure at least.
</content>
</entry>
<entry>
<title>Simplify .config header reading tests.</title>
<updated>2015-07-23T19:33:09Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2015-07-23T19:33:09Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=9fa6f3d58a7000c3cd501c60c12758781b002063'/>
<id>urn:sha1:9fa6f3d58a7000c3cd501c60c12758781b002063</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do not unset user values before the first test.</title>
<updated>2015-06-17T21:33:42Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2015-06-17T21:32:49Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=7f1ae0f76b7a0bdee46786e937781b9e0082d2e0'/>
<id>urn:sha1:7f1ae0f76b7a0bdee46786e937781b9e0082d2e0</id>
<content type='text'>
Redundant, plus we get more coverage for the default state.
</content>
</entry>
<entry>
<title>Make sure scripts/kconfig/conf is built ourselves.</title>
<updated>2015-06-17T21:01:04Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2015-06-17T21:01:04Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=1627d43eeba211fea7f9da439467dcad5955df79'/>
<id>urn:sha1:1627d43eeba211fea7f9da439467dcad5955df79</id>
<content type='text'>
Bit friendlier.
</content>
</entry>
</feed>
