Add a failing test for missing glib-compile-resources
This commit is contained in:
parent
d8094d26f3
commit
74028414e4
|
@ -0,0 +1,8 @@
|
||||||
|
project('no glib-compile-resources')
|
||||||
|
|
||||||
|
if find_program('glib-compile-resources', required: false).found()
|
||||||
|
error('MESON_SKIP_TEST test only applicable when glib-compile-resources is missing.')
|
||||||
|
endif
|
||||||
|
|
||||||
|
gnome = import('gnome')
|
||||||
|
res = gnome.compile_resources('resources', 'trivial.gresource.xml')
|
|
@ -0,0 +1,3 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<gresources>
|
||||||
|
</gresources>
|
Loading…
Reference in New Issue