From: Eric Engestrom Date: Fri, 29 Mar 2019 17:15:45 +0000 (+0000) Subject: tu: add exported symbols check X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1abae9e54ac15f9ed29fddf4e8f1ad607307af5a;p=mesa.git tu: add exported symbols check Signed-off-by: Eric Engestrom Reviewed-by: Emil Velikov --- diff --git a/src/freedreno/vulkan/meson.build b/src/freedreno/vulkan/meson.build index a25193a8147..d2234d8a782 100644 --- a/src/freedreno/vulkan/meson.build +++ b/src/freedreno/vulkan/meson.build @@ -116,6 +116,19 @@ libvulkan_freedreno = shared_library( install : true, ) +if with_tests and prog_nm.found() + test( + 'tu symbols check', + symbols_check, + args : [ + '--lib', libvulkan_freedreno, + '--symbols-file', vulkan_icd_symbols, + '--nm', prog_nm.path(), + ], + suite : ['freedreno'], + ) +endif + freedreno_icd = custom_target( 'freedreno_icd', input : 'tu_icd.py',