[PATCH wayland-protocols 2/2] tests: Make wayland-scanner strict

Simon Ser contact at emersion.fr
Mon Jul 30 15:23:41 UTC 2018


On July 30, 2018 4:10 PM, Jonas Ådahl <jadahl at gmail.com> wrote:
> Pass --strict to wayland-scanner in order to make it exit with failure
> if something wasn't correct.
>
> Signed-off-by: Jonas Ådahl <jadahl at gmail.com>

LGTM and catches the <arg> inside <description> issue.

Reviewed-by: Simon Ser <contact at emersion.fr>

> ---
>  tests/scan.sh | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/tests/scan.sh b/tests/scan.sh
> index 0b1ff00..cad6887 100755
> --- a/tests/scan.sh
> +++ b/tests/scan.sh
> @@ -5,7 +5,7 @@ if [ "x$SCANNER" = "x" ] ; then
>  	exit 77
>  fi
>
> -$SCANNER client-header $1 /dev/null
> -$SCANNER server-header $1 /dev/null
> -$SCANNER private-code $1 /dev/null
> -$SCANNER public-code $1 /dev/null
> +$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
> --
> 2.17.1
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel



More information about the wayland-devel mailing list