tests: Add a regression test for vapigen metadatadir

https://github.com/mesonbuild/meson/pull/9806
pull/9828/head
Nirbheek Chauhan 3 years ago committed by Nirbheek Chauhan
parent bda11fe25d
commit 67bb25b246
  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