From: Eric Engestrom Date: Thu, 11 Oct 2018 14:19:04 +0000 (+0100) Subject: radv: add exported symbols check X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=48289d8853272a1a9bbbb8971aef8f4c2e324266;p=mesa.git radv: add exported symbols check Signed-off-by: Eric Engestrom Reviewed-by: Dylan Baker Reviewed-by: Emil Velikov Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/meson.build b/src/amd/vulkan/meson.build index 4243f66055f..93523b0e88e 100644 --- a/src/amd/vulkan/meson.build +++ b/src/amd/vulkan/meson.build @@ -166,6 +166,19 @@ libvulkan_radeon = shared_library( install : true, ) +if with_tests and prog_nm.found() + test( + 'radv symbols check', + symbols_check, + args : [ + '--lib', libvulkan_radeon, + '--symbols-file', vulkan_icd_symbols, + '--nm', prog_nm.path(), + ], + suite : ['amd'], + ) +endif + radeon_icd = custom_target( 'radeon_icd', input : 'radv_icd.py',