xref: /aosp_15_r20/external/wayland-protocols/freedesktop.org/tests/scan.sh (revision 6c119a463dd5c45dd05bbe67429293292dde15ee)
1#!/bin/sh -e
2
3if [ "x$SCANNER" = "x" ] ; then
4	echo "No scanner present, test skipped." 1>&2
5	exit 77
6fi
7
8$SCANNER client-header --strict $1 /dev/null
9$SCANNER server-header --strict $1 /dev/null
10$SCANNER private-code --strict $1 /dev/null
11$SCANNER public-code --strict $1 /dev/null
12