<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/tests/Kassignable, branch v12.11.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v12.11.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v12.11.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-01-28T09:56:57Z</updated>
<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>Test Choice.assignable, fix for optional choices</title>
<updated>2017-11-03T05:43:12Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-11-03T05:40:40Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=de2e7f766f247d4e8701dcca9fc921f1d0230463'/>
<id>urn:sha1:de2e7f766f247d4e8701dcca9fc921f1d0230463</id>
<content type='text'>
Could never return 0 as a valid assignable value previously.
</content>
</entry>
<entry>
<title>Add .assignable selftests for choice symbols</title>
<updated>2017-11-03T05:14:43Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-11-03T05:13:23Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=d1ea825a1d9d8bfc9496926b6a800ad58581b09a'/>
<id>urn:sha1:d1ea825a1d9d8bfc9496926b6a800ad58581b09a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Test .assignable for imply, find C menuconfig bug</title>
<updated>2017-11-03T04:27:17Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-11-03T04:19:54Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=b74cd303f763fbdc1307830b6333354d65733ef8'/>
<id>urn:sha1:b74cd303f763fbdc1307830b6333354d65733ef8</id>
<content type='text'>
A tristate implied to y can't be set to m. Other than that, imply
doesn't affect assignable values.

Fix some copy-paste type errors too.

In the C menuconfig, a tristate with m visibility implied to y gets
stuck if you change it with space. Look into that later. Test case:

config MODULES
	def_bool y
	option modules

config Y_IMPLIER
	def_tristate y
	imply Y_IMP_M_VIS_TRI

config Y_IMP_M_VIS_TRI
	tristate "y-imp m-vis tri" if m
</content>
</entry>
<entry>
<title>Add initial selftests for .assignable</title>
<updated>2017-11-03T02:24:56Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-11-03T02:17:58Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=b59b618a0ce85632742ff92a5be2bab690a75e42'/>
<id>urn:sha1:b59b618a0ce85632742ff92a5be2bab690a75e42</id>
<content type='text'>
Comprehensive selftests are important here, because the
allno/yesconfig.py scripts only check the upper and lower bound, and
allnoconfig disables modules.

Found a bug for non-selected m-visible tristates, where n didn't show up
in sym.assignable. Everything matches menuconfig after fixing that.

Still need to test symbols in choices with different modes, imply, and
.assignable for choices.
</content>
</entry>
</feed>
