diff options
| author | Simon Ser <contact@emersion.fr> | 2020-01-13 18:56:35 +0100 |
|---|---|---|
| committer | Pekka Paalanen <pq@iki.fi> | 2020-01-15 13:26:20 +0000 |
| commit | 1f8fe8b966b59cd8af22c6a4a3b81996ff057c22 (patch) | |
| tree | b3a4d6c76bbfd6a8aa1f1249b4e89c718971018f /tests | |
| parent | tests: Ensure that overflow test always overflows (diff) | |
| download | wayland-1f8fe8b966b59cd8af22c6a4a3b81996ff057c22.tar wayland-1f8fe8b966b59cd8af22c6a4a3b81996ff057c22.tar.gz wayland-1f8fe8b966b59cd8af22c6a4a3b81996ff057c22.tar.bz2 wayland-1f8fe8b966b59cd8af22c6a4a3b81996ff057c22.tar.lz wayland-1f8fe8b966b59cd8af22c6a4a3b81996ff057c22.tar.xz wayland-1f8fe8b966b59cd8af22c6a4a3b81996ff057c22.tar.zst wayland-1f8fe8b966b59cd8af22c6a4a3b81996ff057c22.zip | |
meson: use strict wayland-scanner mode
Otherwise an invalid protocol will print warnings to stdout but won't
make the build fail.
Signed-off-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/meson.build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/meson.build b/tests/meson.build index 6daec2e..c28a2a3 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -30,21 +30,21 @@ tests_protocol_xml = files('../protocol/tests.xml') tests_server_protocol_h = custom_target( 'test server protocol header', - command: [ wayland_scanner_for_build, 'server-header', '@INPUT@', '@OUTPUT@' ], + command: [ wayland_scanner_for_build, '-s', 'server-header', '@INPUT@', '@OUTPUT@' ], input: tests_protocol_xml, output: 'tests-server-protocol.h' ) tests_client_protocol_c = custom_target( 'test client protocol header', - command: [ wayland_scanner_for_build, 'client-header', '@INPUT@', '@OUTPUT@' ], + command: [ wayland_scanner_for_build, '-s', 'client-header', '@INPUT@', '@OUTPUT@' ], input: tests_protocol_xml, output: 'tests-client-protocol.h' ) tests_protocol_c = custom_target( 'test protocol source', - command: [ wayland_scanner_for_build, 'public-code', '@INPUT@', '@OUTPUT@' ], + command: [ wayland_scanner_for_build, '-s', 'public-code', '@INPUT@', '@OUTPUT@' ], input: tests_protocol_xml, output: 'tests-protocol.c' ) |
