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:
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
|
||||
|
||||
Reference in New Issue
Block a user