aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2018-07-30 17:06:03 +0200
committerJonas Ådahl <jadahl@gmail.com>2018-07-30 17:27:53 +0200
commit6d58be003554ae1cb253ef0b2739b496561fdc92 (patch)
tree4611c936a4314cc9b9aae27ff0c77d8b8ae2d2c6
parent3bd79c2ddc49b48504a7ff5bd0244b123f4f2cc2 (diff)
tests: Make wayland-scanner strict
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>
-rwxr-xr-xtests/scan.sh8
1 files 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