libglvnd/src/GLX/glx-symbol-check.sh
Dylan Baker 3a7aed009c tests: Add symbol check tests
These use the symbol-check.py script from mesa, and should help to
ensure that glvnd doesn't start exposing/hiding new symbols. It's also
useful to double check that meson and autotools are doing the same
thing.
2019-12-04 10:02:00 -08:00

10 lines
261 B
Bash
Executable file

#!/bin/sh
test "${PYTHON}" = ":" && exit 77
test "x${NM}" = "x" && exit 77
exec "${PYTHON}" "${TOP_SRCDIR}/bin/symbols-check.py" \
--nm "${NM}" \
--lib "${TOP_BUILDDIR}/src/GLX/.libs/libGLX.so" \
--symbols-file "${TOP_SRCDIR}/src/GLX/glx.symbols"