<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/tests, 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>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>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>Report correct locations in the presence of continuation lines.</title>
<updated>2015-06-15T21:29:09Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2015-06-15T20:10:19Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=0cebc87848210bf99993527694bb96efe45b9598'/>
<id>urn:sha1:0cebc87848210bf99993527694bb96efe45b9598</id>
<content type='text'>
The line number was previously for logical lines only. Oversight.

Get rid of _get_lines() and keep the raw lines in _FileFeed instead,
only joining lines with continuation lines as they are fetched. This
makes the index correspond to the correct line number from the file. (It
also means most lines are returned as-is without any logic applied to
them, which is nice.)

Litter tests/Klocation with continuation lines to get test coverage.

Remove some unused functions that were previously inherited from _Feed
and remove it as a base class of _FileFeed.
</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>Verify that indented .config assignments are ignored.</title>
<updated>2015-06-09T12:28:28Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2015-06-09T12:28:28Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=0f4882ba3d329005d80b4426688b231381eba5c2'/>
<id>urn:sha1:0f4882ba3d329005d80b4426688b231381eba5c2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do not require $srctree to be set for non-kernel projects.</title>
<updated>2015-06-07T15:46:11Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2015-06-07T14:57:46Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=d56e9c1d4c3e6f560382ac71fa2419b2a9bef1cb'/>
<id>urn:sha1:d56e9c1d4c3e6f560382ac71fa2419b2a9bef1cb</id>
<content type='text'>
(It was never required if you explicitly passed a 'base_dir', but it's a
bit silly to have to do that too.)

This is a bug. I expected os.path.expandvars() to replace references
non-set environment variables with nothing, but it leaves them as is.

Work around it by letting base_dir = None be special and the default. It
uses $srctree if set and the current directory otherwise. This has the
following advantages:

 - It avoids having to reimplement a different version of
   os.path.expandvars() and special-casing "" to mean the current
   directory.

 - It means '$' can appear in paths. (Though it probably never will.)

Maybe the expansion behavior could be removed too, but keep it for now
to be backwards compatible.
</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>
</feed>
