<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/tests/Ktext, branch v1.0.5</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v1.0.5</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v1.0.5'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2017-09-25T16:21:34Z</updated>
<entry>
<title>Don't set defaults that will always be overwritten</title>
<updated>2017-09-25T16:21:34Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-09-25T15:19:09Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=fe17f546b5cd5fd8b9df7d53856efd7b207faa0e'/>
<id>urn:sha1:fe17f546b5cd5fd8b9df7d53856efd7b207faa0e</id>
<content type='text'>
The constructors previously defaulted all properties. This is dead code
for properties that are always set on items from outside during parsing,
and obfuscates the code flow and wastes time. Instead, just mention
other properties that exist in comments in the constructors.

Also add test cases for missing and empty 'choice' help texts. Removing
the default 'self._help = None' assignment in Choice.__init__() wasn't
caught by the selftests.
</content>
</entry>
<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>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>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>Test object __str__() methods.</title>
<updated>2015-06-09T14:46:15Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2015-06-09T14:42:46Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=1f31be32cd2a0c04534c225878f4ce9b7401403f'/>
<id>urn:sha1:1f31be32cd2a0c04534c225878f4ce9b7401403f</id>
<content type='text'>
The format of the strings isn't set in stone, but it's nice to verify
that nothing changes.

This code was incredibly boring to write. :P
</content>
</entry>
<entry>
<title>Test help text terminated by comment.</title>
<updated>2015-06-06T06:37:57Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2015-06-06T06:37:57Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=a73f978e4f8e032c2c2668e9c6d1b84840cc619c'/>
<id>urn:sha1:a73f978e4f8e032c2c2668e9c6d1b84840cc619c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve get_help() test coverage.</title>
<updated>2015-06-06T06:31:38Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2015-06-06T06:30:08Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=a14311449c96af03be515c561bc5b618f01aea7b'/>
<id>urn:sha1:a14311449c96af03be515c561bc5b618f01aea7b</id>
<content type='text'>
In preparation for some changes.
</content>
</entry>
<entry>
<title>Ops - forgot to add tests/Ktext.</title>
<updated>2012-12-06T22:31:29Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2012-12-06T22:31:29Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=bf4995adde2f7994fa3443e1f142c609763676ba'/>
<id>urn:sha1:bf4995adde2f7994fa3443e1f142c609763676ba</id>
<content type='text'>
</content>
</entry>
</feed>
