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