summaryrefslogtreecommitdiff
path: root/kconfigtest.py
AgeCommit message (Collapse)Author
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-07Simplify shell().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-07Add selftests for object relations.Ulf Magnusson
2012-12-07Add selftests for location queries.Ulf Magnusson
2012-12-06Add selftests for various text queries.Ulf Magnusson
2012-12-06Add selftests for eval().Ulf Magnusson
2012-12-06Add selftests for get_assignable_values().Ulf Magnusson
2012-12-06Add selftests for 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-06Make fail() take the message as an argument.Ulf Magnusson
2012-12-06Remove redundant assignment.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.
2012-12-04Append defconfig test failures to a log file.Ulf Magnusson
Handy as the test takes a very long time to run and might have exhausted the scrollback buffer if we decide to abort.
2012-12-04Split test docstrings over multiple lines.Ulf Magnusson
2012-12-04Make $SRCARCH, $srctree, and the config filename queryable.Ulf Magnusson
Thanks to fpemud for spotting this.
2012-12-04Recurse into subdirectories of arch/<arch>/configs to find additional configs.Ulf Magnusson
Also add some motivating comments for testing nonsensical arch/defconfig pairs and not using 'make *_defconfig'. Thanks to fpemud for finding this problem.
2012-12-04Test ARCH = SRCARCH configuration for all arches.Ulf Magnusson
Even for arches that define additional arch settings (search for "Additional arch settings for" in the root Makefile) we should test the ARCH = SRCARCH configuration.
2012-12-03Use 'make alldefconfig' in test_config_absent().Ulf Magnusson
Suggested by fpemud.
2012-12-03Remove some silly accidentally-committed code. ;PUlf Magnusson
2012-12-03Record locations for symbols defined with 'menuconfig'.Ulf Magnusson
We previously only looked for T_CONFIG to determine if a location should be recorded. We need to look for T_MENUCONFIG as well. Also add some sanity checks for get_ref/def_location() to the test suite.
2012-11-08Skip invalid characters when tokenizing.Ulf Magnusson
Emulate zconf.l w.r.t. invalid characters at different locations within a line. This eliminates the need for special hacks to handle -*help-* "tokens". The Linux 3.7.0 configuration files now parse without errors.
2012-07-10Upload Kconfiglib, patch level 3.Ulf Magnusson