compositor: add test suite data
authorPekka Paalanen <pekka.paalanen@collabora.com>
Fri, 25 Oct 2019 10:57:10 +0000 (13:57 +0300)
committerDaniel Stone <daniel@fooishbar.org>
Thu, 30 Jan 2020 10:10:34 +0000 (10:10 +0000)
commit61a6b03d6fafb7d33a05c7af5fb7500da196ec64
tree2732a9949de57e524878b08cedaacdfb789057b0
parentca640d51203a7b7f1237af79e6ba4e5608333356
compositor: add test suite data

Allow to set and get one opaque pointer. The test suite will then use this to
pass data from the test runner to the test plugin, so that the plugin can then
run what it needs to. This is useful when the test runner calls wet_main()
directly instead of forking a compositor.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
compositor/meson.build
compositor/testsuite-util.c [new file with mode: 0644]
compositor/weston.h