Skip to content

Commit

Permalink
tests: Make wayland-scanner strict
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jadahl committed Jul 30, 2018
1 parent 3bd79c2 commit 6d58be0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/scan.sh
Expand Up @@ -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

0 comments on commit 6d58be0

Please sign in to comment.