tu: add exported symbols check

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
Eric Engestrom 2019-03-29 17:15:45 +00:00 committed by Eric Engestrom
parent 0fd30c1011
commit 1abae9e54a

View file

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