From 48289d8853272a1a9bbbb8971aef8f4c2e324266 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Thu, 11 Oct 2018 15:19:04 +0100 Subject: [PATCH] radv: add exported symbols check Signed-off-by: Eric Engestrom Reviewed-by: Dylan Baker Reviewed-by: Emil Velikov Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/meson.build | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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', -- 2.30.2