]> code.ossystems Code Review - openembedded-core.git/commit
wayland: add ptest
authorAlexander Kanavin <alex.kanavin@gmail.com>
Sun, 23 Feb 2020 22:11:11 +0000 (23:11 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Feb 2020 10:41:15 +0000 (10:41 +0000)
commit296ee10bb8491278f050fb9d55f42b0bcf663382
tree98981c27234f9bf2c008cadccaa1b223f6c711b7
parentcb03ccec2926eae6d8eaf1606a7d11fcc54f1820
wayland: add ptest

Sadly, meson makes it very difficult to install tests: the test
configuration is written into host-specific binary files, which
can't be transferred to the target. (unlike autotools where
at least everything happens via Makefiles which can be patched
and tweaked via sed and env vars)

So the configuration has to be entirely recreated in shell.
I managed this for wayland, but weston proved too difficult.

I had filed bugs asking upstream to make the tests installable:
https://gitlab.freedesktop.org/wayland/wayland/issues/146
https://gitlab.freedesktop.org/wayland/weston/issues/368

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/ptest-packagelists.inc
meta/recipes-graphics/wayland/wayland/run-ptest [new file with mode: 0644]
meta/recipes-graphics/wayland/wayland_1.18.0.bb