aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2018-07-30 17:05:13 +0200
committerJonas Ådahl <jadahl@gmail.com>2018-07-30 17:27:53 +0200
commit3bd79c2ddc49b48504a7ff5bd0244b123f4f2cc2 (patch)
treedb532ef6691d164d33857b92db2e33fd82fc4a42 /tests
parent3f282987d6e5cfd8d643886c5165d8a35141912a (diff)
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>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/scan.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/scan.sh b/tests/scan.sh
index 15dd39f..0b1ff00 100755
--- a/tests/scan.sh
+++ b/tests/scan.sh
@@ -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