[PATCH weston 0/4] Options and tests series

Quentin Glidic sardemff7+wayland at sardemff7.net
Thu Jul 25 12:06:39 PDT 2013


From: Quentin Glidic <sardemff7+git at sardemff7.net>

The first two patches are improving option parsing.
They work on their own.

The other two patches update the tests part to drop the weston-tests-env script.
They need the first two patches.


Ultimately, it allows to run tests with the headless backend easily, for automated builds.


They do not run for now with the headless backend, but then you can hack to make them work on it.


Quentin Glidic (4):
  shared/option-parser: Rework option parsing
  shared/option-parser: Add string list options
  weston-test: Get the test client path from args
  tests: Drop weston-tests-env

 man/weston.man             |  10 +-
 shared/config-parser.h     |   1 +
 shared/option-parser.c     | 126 ++++++++++++++---
 src/compositor.c           |  31 +++-
 tests/.gitignore           |   3 +-
 tests/Makefile.am          |  62 +++++---
 tests/option-parser-test.c | 342 +++++++++++++++++++++++++++++++++++++++++++++
 tests/weston-test.c        |  16 ++-
 tests/weston-tests-env     |  36 -----
 9 files changed, 541 insertions(+), 86 deletions(-)
 create mode 100644 tests/option-parser-test.c
 delete mode 100755 tests/weston-tests-env

-- 
1.8.3.3



More information about the wayland-devel mailing list