[PATCH 0/4] Enable configuration tweaking

Bryce Harrington bryce at osg.samsung.com
Tue Jan 20 15:30:28 PST 2015


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



More information about the wayland-devel mailing list