mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 21:30:23 +01:00
glx: add a test to verify exported symbols
Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34002>
This commit is contained in:
parent
1e0ce9db94
commit
dcc805469b
3 changed files with 1389 additions and 0 deletions
10
src/glx/glvnd-symbols.txt
Normal file
10
src/glx/glvnd-symbols.txt
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
__glx_Main
|
||||
MesaGLInteropGLXExportObject
|
||||
MesaGLInteropGLXFlushObjects
|
||||
MesaGLInteropGLXQueryDeviceInfo
|
||||
|
||||
# TODO: These shouldn't be exported:
|
||||
glAreTexturesResidentEXT
|
||||
glDeleteTexturesEXT
|
||||
glGenTexturesEXT
|
||||
glIsTextureEXT
|
||||
1364
src/glx/libgl-symbols.txt
Normal file
1364
src/glx/libgl-symbols.txt
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -148,3 +148,18 @@ libgl = shared_library(
|
|||
darwin_versions : '4.0.0',
|
||||
install : true,
|
||||
)
|
||||
|
||||
if with_symbols_check
|
||||
libgl_symbols_file = with_glvnd ? 'glvnd-symbols.txt' : 'libgl-symbols.txt'
|
||||
|
||||
test(
|
||||
'libGL-ABI-check',
|
||||
symbols_check,
|
||||
args : [
|
||||
'--lib', libgl,
|
||||
'--symbols-file', files(libgl_symbols_file),
|
||||
symbols_check_args,
|
||||
],
|
||||
suite : ['glx'],
|
||||
)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue