automake+meson: don't run egl symbol check on libglvnd lib

We might want to add a symbol check for the glvnd variant though.

Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
Eric Engestrom
2017-10-30 15:43:10 +00:00
parent 1946de2b71
commit 64f17440b6
2 changed files with 15 additions and 6 deletions

View File

@@ -201,8 +201,13 @@ egl_HEADERS = \
$(top_srcdir)/include/EGL/eglmesaext.h \
$(top_srcdir)/include/EGL/eglplatform.h
TESTS = egl-symbols-check \
egl-entrypoint-check
TESTS = egl-entrypoint-check
if USE_LIBGLVND
#TODO: glvnd symbol check
else
TESTS += egl-symbols-check
endif
EXTRA_DIST = \
$(TESTS) \

View File

@@ -183,10 +183,14 @@ pkg.generate(
)
if with_tests
test('egl-symbols-check',
find_program('egl-symbols-check'),
args : libegl
)
if with_glvnd
# TODO: add glvnd symbol check
else
test('egl-symbols-check',
find_program('egl-symbols-check'),
args : libegl
)
endif
test('egl-entrypoint-check',
find_program('egl-entrypoint-check'),
env : [ 'srcdir=' + meson.current_source_dir() ]