On February 15, 2018 6:55:14 PM UTC, Emil Velikov <emil.l.veli...@gmail.com> wrote: > From: Emil Velikov <emil.veli...@collabora.com> > > Based on a similar patch (in Mesa) by Eric Engestrom. > > Cc: Eric Engestrom <eric.engest...@imgtec.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch> > Signed-off-by: Emil Velikov <emil.veli...@collabora.com> > --- > egl/wayland-egl-symbols-check | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git a/egl/wayland-egl-symbols-check > b/egl/wayland-egl-symbols-check > index e7105ea..93a3361 100755 > --- a/egl/wayland-egl-symbols-check > +++ b/egl/wayland-egl-symbols-check > @@ -1,6 +1,14 @@ > #!/bin/sh > +set -eu > > -FUNCS=$(nm -D --defined-only ${1-.libs/libwayland-egl.so} | grep -o > "T .*" | cut -c 3- | while read func; do > +LIB=${1-.libs/libwayland-egl.so} > + > +if [ ! -f "$LIB" ]; then > + echo "The test binary \"$LIB\" does no exist" > + exit 1 > +fi > + > +FUNCS=$(nm -D --defined-only $LIB | grep -o "T .*" | cut -c 3- | > while read func; do > ( grep -q "^$func$" || echo $func ) <<EOF > wl_egl_window_resize > wl_egl_window_create > -- > 2.16.0 > > _______________________________________________ > wayland-devel mailing list > wayland-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/wayland-devel _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel