Initial import of the Weston testing framework.
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 21 Apr 2021 13:38:07 +0000 (16:38 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Wed, 21 Apr 2021 13:43:06 +0000 (16:43 +0300)
commit786a9da44caf73a4702e941a07a3a57e1b303127
treeda90c296aa5ebf436f5f46775ffc99f80d4b01fe
parent1eeb38c6f9353b7aa5596a561a3e5d70b465060b
Initial import of the Weston testing framework.

This adds the necessary part to add tests: a compositor fixture part,
some client helpers to create a SHM buffer, take a screenshot of the
output, the protocol with the client side implementation and thread
runner part that actually spawns a thread to execute the test.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I066af6f6063952da085110c2e08191e496a3532d
meson.build
protocol/weston-test.xml [new file with mode: 0644]
tests/meson.build [new file with mode: 0644]
tests/weston-test-client-helper.c [new file with mode: 0644]
tests/weston-test-client-helper.h [new file with mode: 0644]
tests/weston-test-fixture-compositor.c [new file with mode: 0644]
tests/weston-test-fixture-compositor.h [new file with mode: 0644]
tests/weston-test-runner.c [new file with mode: 0644]
tests/weston-test-runner.h [new file with mode: 0644]
tests/weston-testsuite-data.h [new file with mode: 0644]