diff options
author | Richard Braun <rbraun@sceen.net> | 2018-02-10 11:52:09 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2018-02-12 21:09:51 +0100 |
commit | ba782cb04a98bdccc4009c3abe272453daca501f (patch) | |
tree | 5cc749f9dd3be80b318711623ddf22fd6328cc13 /tools/build_configs.py | |
parent | 68e95635b39a755a0a6282f42ce91b2e676348c6 (diff) |
tools/build_configs.py: add a set of test options
Commit e9a983d84583065a68c591571b5afd3c589a923e discusses scalability
issues with regard to building the tests, but at that time, only the
large set was considered. This change adds a set of test options which
is built on top of the small set of options.
Diffstat (limited to 'tools/build_configs.py')
-rwxr-xr-x | tools/build_configs.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/build_configs.py b/tools/build_configs.py index 00d0592..132c1ef 100755 --- a/tools/build_configs.py +++ b/tools/build_configs.py @@ -95,9 +95,27 @@ large_options_dict.update({ 'CONFIG_THREAD_STACK_GUARD' : ['y', 'n'], }) +test_list = [ + 'CONFIG_TEST_MODULE_LLSYNC_DEFER', + 'CONFIG_TEST_MODULE_MUTEX', + 'CONFIG_TEST_MODULE_MUTEX_PI', + 'CONFIG_TEST_MODULE_PMAP_UPDATE_MP', + 'CONFIG_TEST_MODULE_SREF_DIRTY_ZEROES', + 'CONFIG_TEST_MODULE_SREF_NOREF', + 'CONFIG_TEST_MODULE_SREF_WEAKREF', + 'CONFIG_TEST_MODULE_VM_PAGE_FILL', + 'CONFIG_TEST_MODULE_XCALL', +] + +test_options_dict = dict(small_options_dict) + +for test in test_list: + test_options_dict.update({test : ['y', 'n']}) + all_options_sets = { 'small' : small_options_dict, 'large' : large_options_dict, + 'test' : test_options_dict, } # List of filters used to determine valid configurations. @@ -131,6 +149,9 @@ all_filters_list += gen_exclusive_boolean_filters_list([ 'CONFIG_MUTEX_PLAIN' ]) +# TODO Have both passing and blocking filters to reduce generation complexity. +all_filters_list += gen_exclusive_boolean_filters_list(test_list) + def gen_config_line(config_entry): name, value = config_entry return '%s=%s\n' % (name, quote_if_needed(value)) |