summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-03-29 17:15:45 +0000
committerEric Engestrom <[email protected]>2019-07-10 11:27:51 +0000
commit1abae9e54ac15f9ed29fddf4e8f1ad607307af5a (patch)
tree6d4e0b0ce76c310dd00e9bc1bc82577662a0aac0 /src
parent0fd30c1011b6a57fc36eb74ef2a0f3e69c74fbea (diff)
tu: add exported symbols check
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/freedreno/vulkan/meson.build13
1 files changed, 13 insertions, 0 deletions
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',