From 79b9a42514963939b4c2283f9ab1a081d1bc36dc Mon Sep 17 00:00:00 2001 From: Jonas Ådahl Date: Wed, 11 Oct 2017 16:15:57 +0800 Subject: Add meson build system support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jonas Ådahl Reviewed-by: Simon Ser --- tests/meson.build | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/meson.build (limited to 'tests') diff --git a/tests/meson.build b/tests/meson.build new file mode 100644 index 0000000..3a6b150 --- /dev/null +++ b/tests/meson.build @@ -0,0 +1,14 @@ +prog_scan_sh = find_program('scan.sh') +prog_scanner = find_program(dep_scanner.get_pkgconfig_variable('wayland_scanner')) + +# Check that each protocol passes through the scanner +foreach protocol_file : protocol_files + protocol_path = join_paths(wayland_protocols_srcdir, protocol_file) + test_name = 'scan-@0@'.format(protocol_file.underscorify()) + test(test_name, prog_scan_sh, + args: protocol_path, + env: [ + 'SCANNER=@0@'.format(prog_scanner.path()), + ] + ) +endforeach -- cgit v1.2.3