Module: Mesa
Branch: master
Commit: 1abae9e54ac15f9ed29fddf4e8f1ad607307af5a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1abae9e54ac15f9ed29fddf4e8f1ad607307af5a

Author: Eric Engestrom <[email protected]>
Date:   Fri Mar 29 17:15:45 2019 +0000

tu: add exported symbols check

Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>

---

 src/freedreno/vulkan/meson.build | 13 +++++++++++++
 1 file changed, 13 insertions(+)

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

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to