summaryrefslogtreecommitdiffstats
path: root/src/egl/meson.build
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-10-11 14:40:28 +0100
committerEric Engestrom <[email protected]>2019-07-10 11:27:51 +0000
commit1172263c87232d9af5f35a8ea27705c4afb3b8a6 (patch)
tree0e60b738d657f8aaf2a81303e744eaac124a1123 /src/egl/meson.build
parent176f350fcf1d3024482c0307d2ce9eec836ad487 (diff)
egl: use new symbols check script
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by Dylan Baker <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl/meson.build')
-rw-r--r--src/egl/meson.build16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/egl/meson.build b/src/egl/meson.build
index 97d79823b66..a6b66a06857 100644
--- a/src/egl/meson.build
+++ b/src/egl/meson.build
@@ -196,13 +196,17 @@ if with_tests and prog_nm.found()
if with_glvnd
# TODO: add glvnd symbol check
else
- test('egl-symbols-check',
- find_program('egl-symbols-check'),
- env : env_test,
- args : libegl,
- suite : ['egl'],
- )
+ egl_symbols = files('egl-symbols.txt')
endif
+ test('egl-symbols-check',
+ symbols_check,
+ args : [
+ '--lib', libegl,
+ '--symbols-file', egl_symbols,
+ '--nm', prog_nm.path(),
+ ],
+ suite : ['egl'],
+ )
test('egl-entrypoint-check',
find_program('egl-entrypoint-check'),
env : ['srcdir=' + meson.current_source_dir()],