summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-12-13Add .config header reading/writing selftests.Ulf Magnusson
2012-12-13Do not indent user-provided .config header.Ulf Magnusson
Inflexible.
2012-12-13Return constant instead.Ulf Magnusson
2012-12-13Fix loading of .config files with empty assignments.Ulf Magnusson
"CONFIG_FOO=" was broken because _strip_quotes() could not handle empty strings.
2012-12-13Verify assignability of string/int/hex with m visibility.Ulf Magnusson
2012-12-13Rewrap some docstrings.Ulf Magnusson
2012-12-13Remove outdated comment.Ulf Magnusson
2012-12-13Add selftests for get_config().Ulf Magnusson
2012-12-13Add get_config() for Menu, Choice, and Comment.Ulf Magnusson
Omission.
2012-12-13Add visibility selftests.Ulf Magnusson
2012-12-13Add Comment.get_visibility().Ulf Magnusson
Omission.
2012-12-13Rename Menu.get_depends_on_visibility() to Menu.get_visibility().Ulf Magnusson
2012-12-13Commit the missing tests/Krange.Ulf Magnusson
2012-12-13Rename some APIs to be more consistent and intuitive.Ulf Magnusson
2012-12-13Get rid of some "in (" in favor of direct comparisons.Ulf Magnusson
Slightly faster and no less readable.
2012-12-13Add more equality selftests.Ulf Magnusson
2012-12-13Add selftests for hex/int ranges.Ulf Magnusson
2012-12-13Clean up get_value() for hex/int and fix edge cases.Ulf Magnusson
If a range is active and no defaults are active, the low end of the range should be used for the default if no valid user value is set.
2012-12-12Commit missing Kmainmenu.Ulf Magnusson
2012-12-12Add selftests for get_mainmenu_text().Ulf Magnusson
2012-12-12Add Kempty and use it instead of Kdefconfig_none.Ulf Magnusson
2012-12-12Rename kconfigtest.py to testsuite.py.Ulf Magnusson
2012-12-12Break encapsulation a bit to clarify code.Ulf Magnusson
Perhaps the public API should be properties instead of functions for things like .name that are very unlikely to not be static as well. Would take more work to document though.
2012-12-12Clarify test_defconfig() description.Ulf Magnusson
2012-12-12Re-enable set_user_value() warning for symbols with no prompts.Ulf Magnusson
Disable warnings in allnoconfig_simpler.py instead.
2012-12-12Remove redundant check.Ulf Magnusson
2012-12-12Use 'type' instead of 'get_type()' internally.Ulf Magnusson
2012-12-12Always count non-bool/tristate symbols as 'n' in tristate context.Ulf Magnusson
Previously a string symbol that happened to have the value "y" would count as "y" in tristate context, which is incorrect.
2012-12-12Use is_choice_item_ internally.Ulf Magnusson
2012-12-11Revert "Only invalidate if the user value actually changes.".Ulf Magnusson
This will break choices under certain circumstances.
2012-12-11Misc. doc cleanups.Ulf Magnusson
2012-12-11Clarify Symbol.get_value().Ulf Magnusson
2012-12-11Rename APIs to be more consistent and intuitive.Ulf Magnusson
2012-12-11Explain visibility better.Ulf Magnusson
Also improve various warnings and other comments.
2012-12-11Small set_value() clarification.Ulf Magnusson
2012-12-11Clarify documentation for set_value() and reset().Ulf Magnusson
Mentioning internals in the docstring for reset() is just confusing.
2012-12-11Remove calc_default_value().Ulf Magnusson
It's a weird and probably pretty useless API.
2012-12-11Add selftests for get_user_value().Ulf Magnusson
2012-12-11Add selftests for is_optional().Ulf Magnusson
2012-12-11Make get_defconfig_filename() selftest more comprehensive.Ulf Magnusson
2012-12-11Add selftests for get_defconfig_filename().Ulf Magnusson
2012-12-11Add note about internal API.Ulf Magnusson
2012-12-11Add choice/menu/comment test coverage for get_referenced_symbols().Ulf Magnusson
2012-12-11Add note about running examples.Ulf Magnusson
2012-12-11Add a grep'ing example.Ulf Magnusson
2012-12-11Make it possible to pass an argument via scriptconfig.Ulf Magnusson
2012-12-11Improve output formatting for test suite.Ulf Magnusson
2012-12-11Display arch names as they are loaded in test suite.Ulf Magnusson
2012-12-11Only invalidate if the user value actually changes.Ulf Magnusson
2012-12-11Expand set_value() documentation.Ulf Magnusson