meson: set WESTON_DATA_DIR for tests
authorPekka Paalanen <pekka.paalanen@collabora.com>
Wed, 6 Feb 2019 11:51:55 +0000 (13:51 +0200)
committerDaniel Stone <daniel@fooishbar.org>
Fri, 15 Feb 2019 19:21:26 +0000 (19:21 +0000)
commitfcd9f674674731c7d37871034c5e9fe5166e248b
tree5db9b3dddb5bffb7e3145a98c622d31ef086c797
parentcd6bf210a44ecb2abb4aec91a84cbc167e894e06
meson: set WESTON_DATA_DIR for tests

It seems WESTON_DATA_DIR was missed. If you have already installed Weston, then
the files will be found in the install location, but if not, they were not
found at all.

This caused the xwayland test to SEGV the compositor in
weston_wm_window_create_frame() when frame_crate() returned NULL.

This patch fixes the test suite only.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
tests/meson.build