For testing, currently we can run tests only against the configuration defaults, but we need a way to launch weston with non-default config parameters. An example would be to turn off the fade-in animation for rendering tests. Or, we may want to test the configuration system itself.
This patchset introduces a --config-overrides command line parameter, which can be used to pass in a comma-separated list of section.key=value pairs. If weston.ini is used, the overrides will take precidence over the config file. Bryce Harrington (http://osg.samsung.com) (4): config-parser: Document config_section_get_entry() config-parser: Allow server-side modification of loaded configs config-parser: Enable updating an already-loaded config compositor: Add --config-overrides command-line option man/weston.man | 9 +++ shared/config-parser.c | 169 ++++++++++++++++++++++++++++++++++++++------- shared/config-parser.h | 11 +++ src/compositor.c | 24 ++++++- tests/config-parser-test.c | 22 ++++++ 5 files changed, 210 insertions(+), 25 deletions(-) -- 1.9.1 _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
