Add a failing test for missing glib-compile-resources

This commit is contained in:
Jon Turney 2020-03-24 22:37:27 +00:00 committed by Jussi Pakkanen
parent d8094d26f3
commit 74028414e4
2 changed files with 11 additions and 0 deletions

View File

@ -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')

View File

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
</gresources>