Add a failing test for missing glib-compile-resources

pull/6868/head
Jon Turney 5 years ago committed by Jussi Pakkanen
parent d8094d26f3
commit 74028414e4
  1. 8
      test cases/failing/102 no glib-compile-resources/meson.build
  2. 3
      test cases/failing/102 no glib-compile-resources/trivial.gresource.xml

@ -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…
Cancel
Save