aboutsummaryrefslogtreecommitdiff
path: root/tests/scan.sh
AgeCommit message (Collapse)Author
2018-07-30tests: Make wayland-scanner strictJonas Ådahl
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>
2018-07-30tests: Use public-code and private-code instead of codeJonas Ådahl
The wayland-scanner sub-commands private-code and public-code replaced the old code command, so lets use those in the tests instead. This requires at least wayland-scanner 1.15.0. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Simon Ser <contact@emersion.fr>
2016-01-14test: add make checkDerek Foreman
We can now test all the protocol files by running make check (or distcheck) which will pass them through the scanner. Signed-off-by: Derek Foreman <derekf@osg.samsung.com> Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net> Acked-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Jonas Ådahl <jadahl@gmail.com>