summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-12-08Clarify allno/yesconfig.py.Ulf Magnusson
2012-12-08Test the actual allno/yesconfig.py scripts.Ulf Magnusson
No need to duplicate them in the test suite, and we also get coverage of 'make scriptconfig'.
2012-12-08Make test suite logging optional.Ulf Magnusson
2012-12-08Default to only testing valid arch/defconfig pairs.Ulf Magnusson
Make configurable via kconfigtest.py argument.
2012-12-08Add a speedy test mode that avoids running 'make'.Ulf Magnusson
2012-12-08Arrange _tokenize() cases by frequency.Ulf Magnusson
Now arranged by the frequency different cases are encountered while parsing the x86 configuration (likely the same as for all archs). Gives a small speed-up. Also get rid of an unnecessary sym_chars membership test and add/fix some comments.
2012-12-07Simplify shell().Ulf Magnusson
2012-12-07Use consistent style for tuple unpacking.Ulf Magnusson
2012-12-07Use a frozenset for string_lex.Ulf Magnusson
2012-12-07Re-enable testing of H8/300.Ulf Magnusson
No longer has broken Kconfig as of 3.7.0-rc8.
2012-12-07Use consistent docstring style.Ulf Magnusson
2012-12-07Update test suite instructions.Ulf Magnusson
2012-12-07Make Makefile patch less intrusive.Ulf Magnusson
- Now assumes Kconfiglib lives in Kconfiglib/ under the kernel root. No need to copy anything. - Now in the 'git am' format. - Patch is a single block with no modifications to surrounding code. Should apply much easier.
2012-12-07Small simplification.Ulf Magnusson
2012-12-07Add selftests for object relations.Ulf Magnusson
2012-12-07Fix get_menus() ordering w.r.t. nested menus.Ulf Magnusson
Menus were being added in the order of their 'endmenu's instead of the order of their 'menu's.
2012-12-07Clarify ordering with get_actual_items().Ulf Magnusson
2012-12-07Add tests/Klocation.Ulf Magnusson
2012-12-07Add selftests for location queries.Ulf Magnusson
2012-12-06Ops - forgot to add tests/Ktext.Ulf Magnusson
2012-12-06Add selftests for various text queries.Ulf Magnusson
2012-12-06Add Choice.get_help().Ulf Magnusson
Oversight.
2012-12-06Ops - forgot to commit tests/Keval.Ulf Magnusson
2012-12-06Add selftests for eval().Ulf Magnusson
2012-12-06Clarify eval() and always use transform_m = True.Ulf Magnusson
The old version was a bit confusing, and it's probably best to always handle expressions like for conditionals.
2012-12-06Clarify documentation for 'Choice'.Ulf Magnusson
2012-12-06Get rid of _eval_to_int().Ulf Magnusson
Was always called for things guaranteed not to be expressions, so it was an all around waste.
2012-12-06Add selftests for get_assignable_values().Ulf Magnusson
2012-12-06Clarify and tighten up get_assignable_values().Ulf Magnusson
Also get rid of the kludgey _is_assignable_bool_or_tristate().
2012-12-06Add selftests for get_lower/upper_bound().Ulf Magnusson
2012-12-06Clarify and tighten up get_lower/upper_bound().Ulf Magnusson
2012-12-06Add assert_true/false() functions.Ulf Magnusson
2012-12-06Add tests for is_modifiable().Ulf Magnusson
Introduce selftests with specific configurations provided by us.
2012-12-06Clarify and tighten up is_modifiable().Ulf Magnusson
2012-12-06Make fail() take the message as an argument.Ulf Magnusson
2012-12-06Clean up is_modifiable().Ulf Magnusson
2012-12-06Move examples into separate directory.Ulf Magnusson
2012-12-06Spell nit.Ulf Magnusson
2012-12-06Remove redundant variable.Ulf Magnusson
2012-12-06Remove some ugly redundant else's.Ulf Magnusson
2012-12-06Space out a bit.Ulf Magnusson
2012-12-06Add Config.n/m/y as aliases for Config.syms["n"/"m"/"y"].Ulf Magnusson
2012-12-06Fix _internal_error() call.Ulf Magnusson
2012-12-06Unconvolute evaluation of (in)equalities.Ulf Magnusson
2012-12-06Remove redundant assignment.Ulf Magnusson
2012-12-06Fix get_mainmenu_text() when none available.Ulf Magnusson
2012-12-06Only print Config.arch/srcarch if non-None.Ulf Magnusson
Also, Config.srctree cannot be None.
2012-12-04Improve some comments.Ulf Magnusson
2012-12-04Add PyPy note.Ulf Magnusson
2012-12-04Use communicate() instead of wait() with Popen.Ulf Magnusson
No good reason not to do this, and it prevents a problem where the test suite will open too many file descriptors with PyPy.