anv: add exported symbols check

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
Eric Engestrom 2018-10-11 15:19:13 +01:00
parent f1c22390f7
commit 960038d550
1 changed files with 13 additions and 0 deletions

View File

@ -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',