summaryrefslogtreecommitdiff
path: root/testsuite.py
AgeCommit message (Collapse)Author
2015-06-10s/if's/ifs/Ulf Magnusson
2015-06-09Get some more test coverage for Config.__str__().Ulf Magnusson
2015-06-09Add note re. __str__() tests.Ulf Magnusson
2015-06-09Test object __str__() methods.Ulf Magnusson
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
2015-06-09Verify that indented .config assignments are ignored.Ulf Magnusson
2015-06-08Test suite nits.Ulf Magnusson
2015-06-08Remove unused .format() argument in test suite.Ulf Magnusson
2015-06-08Add Python 3 support.Ulf Magnusson
Only incompatibilities left were itervalues() vs. values() and 'print' expressions.
2015-06-07Do not require $srctree to be set for non-kernel projects.Ulf Magnusson
(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.
2015-06-07Unset user values when loading a zero-byte .config.Ulf Magnusson
Minor bug due to an early return from load_config(). Piggyback a refactoring of the code. Reading the header is unlikely to be performance-sensitive. Add a testcase too.
2015-06-06Test help text terminated by comment.Ulf Magnusson
2015-06-06Improve get_help() test coverage.Ulf Magnusson
In preparation for some changes.
2015-06-06Test for exceptions in a cleaner way.Ulf Magnusson
2015-06-06Add some test cases for malformed expressions.Ulf Magnusson
Also fix a tokenizer nit: a '!' at the end of a line can be tokenized (though it's meaningless).
2015-06-06Remove _Feed.__getitem__().Ulf Magnusson
Also add named choices defined in multiple locations to the block at each location. Not sure why I only added them at the first location before, as symbols don't work that way. I still doubt named choices defined in multiple locations will ever be used.
2015-06-02Change email in testsuite.py.Ulf Magnusson
2015-05-29Fix typos in test suite.Ulf Magnusson
...and mention that the test suite requires the make targets too in the readme.
2015-03-12Add Symbol.is_allnoconfig_y()Philip Craig
2013-08-07Add Symbol and Choice interfaces for getting prompt strings.Ulf Magnusson
2012-12-19Test suite language nits.Ulf Magnusson
2012-12-18Add selftests for reading strings with escaped characters.Ulf Magnusson
2012-12-18Add selftests for writing strings with escaped characters.Ulf Magnusson
2012-12-18Minor test suite reformatting.Ulf Magnusson
2012-12-17Add selftests for string literal lexing.Ulf Magnusson
2012-12-16Remove some inaccurate comments.Ulf Magnusson
2012-12-16Print arch name before the arch Kconfig is loaded.Ulf Magnusson
2012-12-16Clarify some test suite functions.Ulf Magnusson
2012-12-16Get some UNAME_RELEASE coverage.Ulf Magnusson
2012-12-16Clarify testsuite comment.Ulf Magnusson
2012-12-16Make "m" mode choice selection selftests more comprehensive.Ulf Magnusson
2012-12-15Fix typo.Ulf Magnusson
2012-12-15Add more selftests for choices with missing types.Ulf Magnusson
2012-12-15Verify types for choices without explicit types.Ulf Magnusson
2012-12-15Add a long dependency chain selftest.Ulf Magnusson
2012-12-15Add selftests for choice semantics.Ulf Magnusson
2012-12-15Add some quotes for the sake of readability.Ulf Magnusson
2012-12-15Add some missing Choice APIs to test_call_all().Ulf Magnusson
2012-12-15Fill out test_call_all() and order functions by name.Ulf Magnusson
2012-12-15Fix typo.Ulf Magnusson
2012-12-14Get 'visible if' coverage for symbol references.Ulf Magnusson
2012-12-14Add an inequality test for undefined symbols.Ulf Magnusson
2012-12-14Get more test coverage for n/m/y properties.Ulf Magnusson
2012-12-14Add selftests for tristate comparisons.Ulf Magnusson
2012-12-14Simplify some tests.Ulf Magnusson
2012-12-14Add selftests for various minor APIs.Ulf Magnusson
2012-12-14Verify that the quirky symbol still gets the choice as its parent.Ulf Magnusson
C is not a "proper" symbol of the choice.
2012-12-14Make _comment() preserve trailing newlines.Ulf Magnusson
2012-12-14Add selftests for 'visible if' visibility.Ulf Magnusson
2012-12-13Remove excessive indentation.Ulf Magnusson
2012-12-13Add selftest for Config.get_config_filename().Ulf Magnusson