[wayland-protocols,1/2] tests: Use public-code and private-code instead of code

Submitted by Jonas Ådahl on July 30, 2018, 3:10 p.m.

Details

Message ID 20180730151008.24421-1-jadahl@gmail.com
State Accepted
Commit 3bd79c2ddc49b48504a7ff5bd0244b123f4f2cc2
Headers show
Series "Series without cover letter" ( rev: 1 ) in Wayland

Not browsing as part of any series.

Commit Message

Jonas Ådahl July 30, 2018, 3:10 p.m.
The wayland-scanner sub-commands private-code and public-code replaced
the old code command, so lets use those in the tests instead.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
---
 tests/scan.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

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

Comments

On July 30, 2018 4:10 PM, Jonas Ådahl <jadahl@gmail.com> wrote:
> The wayland-scanner sub-commands private-code and public-code replaced
> the old code command, so lets use those in the tests instead.
>
> Signed-off-by: Jonas Ådahl <jadahl@gmail.com>

LGTM and works.

Reviewed-by: Simon Ser <contact@emersion.fr>

> ---
>  tests/scan.sh | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> 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
> --
> 2.17.1
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel