summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-10-11 15:19:13 +0100
committerEric Engestrom <[email protected]>2019-10-13 17:40:47 +0100
commit960038d550751d9e4d6ac3f4d6f38ad16bc17d53 (patch)
tree56efc4193f825b470495db03c02fe6ce11f52b90
parentf1c22390f78589603df35efaf1c0102c4ac814b2 (diff)
anv: add exported symbols check
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Dylan Baker <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
-rw-r--r--src/intel/vulkan/meson.build13
1 files changed, 13 insertions, 0 deletions
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',