mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 00:37:59 +02:00
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>
This commit is contained in:
parent
cd6bf210a4
commit
fcd9f67467
1 changed files with 1 additions and 0 deletions
|
|
@ -232,6 +232,7 @@ endif
|
|||
env_test_weston = [
|
||||
'WESTON_TEST_REFERENCE_PATH=@0@/reference'.format(meson.current_source_dir()),
|
||||
'WESTON_MODULE_MAP=@0@'.format(env_modmap),
|
||||
'WESTON_DATA_DIR=' + join_paths(meson.current_source_dir(), '..', 'data'),
|
||||
]
|
||||
|
||||
# FIXME: the multiple loops is lame. rethink this.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue