tests: Use public-code and private-code instead of code

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>
This commit is contained in:
Jonas Ådahl 2018-07-30 17:05:13 +02:00
parent 3f282987d6
commit 3bd79c2ddc

View file

@ -7,4 +7,5 @@ fi
$SCANNER client-header $1 /dev/null
$SCANNER server-header $1 /dev/null
$SCANNER code $1 /dev/null
$SCANNER private-code $1 /dev/null
$SCANNER public-code $1 /dev/null