From: Eric Engestrom Date: Thu, 11 Oct 2018 14:19:13 +0000 (+0100) Subject: anv: add exported symbols check X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=960038d550751d9e4d6ac3f4d6f38ad16bc17d53;p=mesa.git anv: 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/intel/vulkan/meson.build b/src/intel/vulkan/meson.build index 86325beabea..e8db8f44de0 100644 --- a/src/intel/vulkan/meson.build +++ b/src/intel/vulkan/meson.build @@ -204,6 +204,19 @@ libvulkan_intel = shared_library( install : true, ) +if with_tests and prog_nm.found() + test( + 'anv symbols check', + symbols_check, + args : [ + '--lib', libvulkan_intel, + '--symbols-file', vulkan_icd_symbols, + '--nm', prog_nm.path(), + ], + suite : ['intel'], + ) +endif + if with_tests libvulkan_intel_test = static_library( 'vulkan_intel_test',