[PATCH weston v2 0/9] Enable test configuration

Bryce Harrington bryce at osg.samsung.com
Thu Apr 2 19:16:49 PDT 2015


This enables tests to provide their own .ini files for configuring
weston, via the recently added --config option.  Also included in this
set is some related cleanup in weston-tests-env.

[Update v2]
Implemented review comments from pekka:
 * Dropped ~/.config as default location of weston.ini in help text.
 * Look for generated .ini files in build dir, as well as static ini
   files in the source tree (in tests/ subdir)
 * Simplified the .la/.so logic.
 * Added a test case for config loading
Also did some further fussy cleanup of weston-tests-env.

Bryce Harrington (9):
  compositor:  Help text for --config
  tests: Support --config to enable tests to override config defaults
  tests: Keep track of basename
  tests: Cleanup test log filenames
  tests: Refactor weston launching syntax
  tests: Simplify the .la/.so logic
  tests: Prefer bracket form of test command for consistency
  tests: Add a couple minor error checks
  tests: Add test to verify tests' ini files get loaded

 Makefile.am                   | 10 +++++-
 src/compositor.c              |  1 +
 tests/config-malformed-test.c | 33 ++++++++++++++++++++
 tests/config-malformed.ini    | 15 +++++++++
 tests/weston-tests-env        | 71 +++++++++++++++++++++----------------------
 5 files changed, 93 insertions(+), 37 deletions(-)
 create mode 100644 tests/config-malformed-test.c
 create mode 100644 tests/config-malformed.ini

-- 
1.9.1



More information about the wayland-devel mailing list