mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2025-12-20 04:40:06 +01:00
Pass --strict to wayland-scanner in order to make it exit with failure if something wasn't correct. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Simon Ser <contact@emersion.fr>
11 lines
283 B
Bash
Executable file
11 lines
283 B
Bash
Executable file
#!/bin/sh -e
|
|
|
|
if [ "x$SCANNER" = "x" ] ; then
|
|
echo "No scanner present, test skipped." 1>&2
|
|
exit 77
|
|
fi
|
|
|
|
$SCANNER client-header --strict $1 /dev/null
|
|
$SCANNER server-header --strict $1 /dev/null
|
|
$SCANNER private-code --strict $1 /dev/null
|
|
$SCANNER public-code --strict $1 /dev/null
|