[PATCH weston 0/9] Test infrastructure for ivi-shell, sponsored by ADIT

Pekka Paalanen ppaalanen at gmail.com
Mon Mar 30 02:20:03 PDT 2015


From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>

Hi,

this patch series sets up a test infrastructure for the needs of ivi-shell.
Also a few tests are included to show how the infrastructure works. Later, the
intention is to add a lot more tests that fall into the categories enabled by
this series.

Patches 1-4 are just preparation for IVI tests. Patches 5-6 beat the ivi-shell
specific weston.ini into shape for testing. Patch 7 adds support for basic
client-driven tests of ivi-shell.

Patch 8 is the main meat of this series. Some ivi-shell tests require a
specific client to be present, while the tests itself need to be executed in
the compositor. This patch lays out the framework for that.  It is possible to
generalize this framework beyond ivi-shell if wanted.

Patch 9 adds a simple compositor-side test.

This work is sponsored by ADIT. ADIT is joint venture company of DENSO
Corporation and Bosch GmbH.

Earlier works sponsored by ADIT include:

Surface shots debug feature
http://lists.freedesktop.org/archives/wayland-devel/2015-February/019959.html
http://lists.freedesktop.org/archives/wayland-devel/2015-February/020252.html

Clean-up, doc, and bug fix patches
http://lists.freedesktop.org/archives/wayland-devel/2015-February/020266.html

View clipping
http://lists.freedesktop.org/archives/wayland-devel/2015-March/020354.html

Fix pixman-renderer cropping
http://lists.freedesktop.org/archives/wayland-devel/2015-March/020440.html
http://lists.freedesktop.org/archives/wayland-devel/2015-March/020514.html

Configuration file control
http://lists.freedesktop.org/archives/wayland-devel/2015-March/020851.html


Pekka Paalanen (9):
  tests: introduce create_client()
  tests: rename client_create to create_client_and_test_surface
  ivi-shell: add cmdline option for controller module
  ivi-layout: abort without controller_module_init
  build: generate weston-ivi.ini for tests
  ivi-shell/weston.ini: fix paths
  tests: add a basic ivi-shell test
  tests: ivi_layout test infrastructure
  tests: add ivi_layout stand-alone test module

 .gitignore                        |   3 +
 Makefile.am                       |  65 ++++++-
 ivi-shell/ivi-layout.c            |  14 +-
 ivi-shell/ivi-shell.c             |  20 ++-
 ivi-shell/weston.ini.in           |  38 ++--
 protocol/weston-test.xml          |  35 ++++
 tests/bad-buffer-test.c           |   2 +-
 tests/buffer-count-test.c         |   2 +-
 tests/button-test.c               |   2 +-
 tests/event-test.c                |  22 +--
 tests/ivi-shell-app-test.c        |  72 ++++++++
 tests/ivi-test.h                  |  29 +++
 tests/ivi_layout-internal-test.c  | 121 +++++++++++++
 tests/ivi_layout-test-plugin.c    | 368 ++++++++++++++++++++++++++++++++++++++
 tests/ivi_layout-test.c           | 230 ++++++++++++++++++++++++
 tests/keyboard-test.c             |   2 +-
 tests/presentation-test.c         |   2 +-
 tests/roles-test.c                |   4 +-
 tests/subsurface-test.c           |  30 ++--
 tests/text-test.c                 |   2 +-
 tests/weston-test-client-helper.c |  23 ++-
 tests/weston-test-client-helper.h |   5 +-
 tests/weston-tests-env            |  26 +++
 23 files changed, 1042 insertions(+), 75 deletions(-)
 create mode 100644 tests/ivi-shell-app-test.c
 create mode 100644 tests/ivi-test.h
 create mode 100644 tests/ivi_layout-internal-test.c
 create mode 100644 tests/ivi_layout-test-plugin.c
 create mode 100644 tests/ivi_layout-test.c

-- 
2.0.5



More information about the wayland-devel mailing list