diff options
| author | Philip Craig <philipjcraig@gmail.com> | 2015-03-12 21:23:38 +1000 |
|---|---|---|
| committer | Philip Craig <philipjcraig@gmail.com> | 2015-03-12 21:23:38 +1000 |
| commit | deaa62405116cc63dd7d03f4c5c58fa7ce7d91e6 (patch) | |
| tree | f21058b347a91f7cf82cdc169e5f3140570f1422 /testsuite.py | |
| parent | 11960409dc7b9dd50090c3c16b0ffd5f2a270031 (diff) | |
Add Symbol.is_allnoconfig_y()
Diffstat (limited to 'testsuite.py')
| -rw-r--r-- | testsuite.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite.py b/testsuite.py index be0082e..1fe0f24 100644 --- a/testsuite.py +++ b/testsuite.py @@ -1195,6 +1195,13 @@ def run_selftests(): verify(not sym.is_choice_symbol(), "{0} should not be a choice symbol".format(sym_name)) + print "Testing is_allnoconfig_y()..." + + verify(not c["NOT_ALLNOCONFIG_Y"].is_allnoconfig_y(), + "NOT_ALLNOCONFIG_Y should not be allnoconfig_y") + verify(c["ALLNOCONFIG_Y"].is_allnoconfig_y(), + "ALLNOCONFIG_Y should be allnoconfig_y") + print "Testing UNAME_RELEASE value..." verify_value("UNAME_RELEASE", os.uname()[2]) @@ -1760,6 +1767,7 @@ def test_call_all(conf): s.is_defined() s.is_from_environment() s.is_modifiable() + s.is_allnoconfig_y() s.unset_user_value() # Check get_ref/def_location() sanity |
