mirror of
https://git.sr.ht/~lattis/muon
synced 2026-01-26 08:07:51 +00:00
properly mark wayland test as being skipped
This commit is contained in:
parent
b8c9b47570
commit
f88b642f42
@ -7,9 +7,12 @@ wl = import('wayland')
|
||||
|
||||
wl_dep = dependency('wayland-client', required: false)
|
||||
wl_scanner = dependency('wayland-scanner', required: false, native: true)
|
||||
if wl_dep.found() and wl_scanner.found()
|
||||
xml = wl.find_protocol('xdg-shell', state: 'stable')
|
||||
gen = wl.scan_xml(xml)
|
||||
|
||||
executable('wayland_demo', gen + ['wayland_demo.c'], dependencies: wl_dep)
|
||||
if not (wl_dep.found() and wl_scanner.found())
|
||||
error('MESON_SKIP_TEST: wayland dependencies not found')
|
||||
endif
|
||||
|
||||
xml = wl.find_protocol('xdg-shell', state: 'stable')
|
||||
gen = wl.scan_xml(xml)
|
||||
|
||||
executable('wayland_demo', gen + ['wayland_demo.c'], dependencies: wl_dep)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user