tests: Add a regression test for vapigen metadatadir

https://github.com/mesonbuild/meson/pull/9806
pull/10112/head
Nirbheek Chauhan 3 years ago
parent b4500081e9
commit 5de1a3f90c
  1. 1
      test cases/vala/11 generated vapi/libfoo/foo.metadata
  2. 7
      test cases/vala/11 generated vapi/libfoo/meson.build

@ -24,7 +24,14 @@ libfoo_gir = gnome.generate_gir(libfoo,
],
)
configure_file(
input: 'foo.metadata',
output: 'Foo-@0@.metadata'.format(libfoo_api_ver),
copy: true
)
libfoo_vapi = gnome.generate_vapi('foo-' + libfoo_api_ver,
metadata_dirs: meson.current_build_dir(),
sources: libfoo_gir[0],
install: true,
)

Loading…
Cancel
Save