*-symbols-check: let meson figure out how to execute the scripts
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>main
parent
9b1e084253
commit
dddeff5028
|
@ -59,7 +59,7 @@ ext_libdrm_amdgpu = declare_dependency(
|
||||||
|
|
||||||
test(
|
test(
|
||||||
'amdgpu-symbol-check',
|
'amdgpu-symbol-check',
|
||||||
prog_bash,
|
find_program('amdgpu-symbol-check'),
|
||||||
env : env_test,
|
env : env_test,
|
||||||
args : [files('amdgpu-symbol-check'), libdrm_amdgpu]
|
args : libdrm_amdgpu,
|
||||||
)
|
)
|
||||||
|
|
|
@ -54,6 +54,7 @@ ext_libdrm_etnaviv = declare_dependency(
|
||||||
|
|
||||||
test(
|
test(
|
||||||
'etnaviv-symbol-check',
|
'etnaviv-symbol-check',
|
||||||
prog_bash,
|
find_program('etnaviv-symbol-check'),
|
||||||
args : [files('etnaviv-symbol-check'), libdrm_etnaviv]
|
env : env_test,
|
||||||
|
args : libdrm_etnaviv,
|
||||||
)
|
)
|
||||||
|
|
|
@ -48,7 +48,7 @@ pkg.generate(
|
||||||
|
|
||||||
test(
|
test(
|
||||||
'exynos-symbol-check',
|
'exynos-symbol-check',
|
||||||
prog_bash,
|
find_program('exynos-symbol-check'),
|
||||||
env : env_test,
|
env : env_test,
|
||||||
args : [files('exynos-symbol-check'), libdrm_exynos]
|
args : libdrm_exynos,
|
||||||
)
|
)
|
||||||
|
|
|
@ -71,7 +71,7 @@ pkg.generate(
|
||||||
|
|
||||||
test(
|
test(
|
||||||
'freedreno-symbol-check',
|
'freedreno-symbol-check',
|
||||||
prog_bash,
|
find_program('freedreno-symbol-check'),
|
||||||
env : env_test,
|
env : env_test,
|
||||||
args : [files('freedreno-symbol-check'), libdrm_freedreno]
|
args : libdrm_freedreno,
|
||||||
)
|
)
|
||||||
|
|
|
@ -64,43 +64,37 @@ test_decode = executable(
|
||||||
|
|
||||||
test(
|
test(
|
||||||
'gen4-3d.batch',
|
'gen4-3d.batch',
|
||||||
prog_bash,
|
find_program('tests/gen4-3d.batch.sh'),
|
||||||
args : files('tests/gen4-3d.batch.sh'),
|
|
||||||
workdir : meson.current_build_dir(),
|
workdir : meson.current_build_dir(),
|
||||||
)
|
)
|
||||||
test(
|
test(
|
||||||
'gen45-3d.batch',
|
'gen45-3d.batch',
|
||||||
prog_bash,
|
find_program('tests/gm45-3d.batch.sh'),
|
||||||
args : files('tests/gm45-3d.batch.sh'),
|
|
||||||
workdir : meson.current_build_dir(),
|
workdir : meson.current_build_dir(),
|
||||||
)
|
)
|
||||||
test(
|
test(
|
||||||
'gen5-3d.batch',
|
'gen5-3d.batch',
|
||||||
prog_bash,
|
find_program('tests/gen5-3d.batch.sh'),
|
||||||
args : files('tests/gen5-3d.batch.sh'),
|
|
||||||
workdir : meson.current_build_dir(),
|
workdir : meson.current_build_dir(),
|
||||||
)
|
)
|
||||||
test(
|
test(
|
||||||
'gen6-3d.batch',
|
'gen6-3d.batch',
|
||||||
prog_bash,
|
find_program('tests/gen6-3d.batch.sh'),
|
||||||
args : files('tests/gen6-3d.batch.sh'),
|
|
||||||
workdir : meson.current_build_dir(),
|
workdir : meson.current_build_dir(),
|
||||||
)
|
)
|
||||||
test(
|
test(
|
||||||
'gen7-3d.batch',
|
'gen7-3d.batch',
|
||||||
prog_bash,
|
find_program('tests/gen7-3d.batch.sh'),
|
||||||
args : files('tests/gen7-3d.batch.sh'),
|
|
||||||
workdir : meson.current_build_dir(),
|
workdir : meson.current_build_dir(),
|
||||||
)
|
)
|
||||||
test(
|
test(
|
||||||
'gen7-2d-copy.batch',
|
'gen7-2d-copy.batch',
|
||||||
prog_bash,
|
find_program('tests/gen7-2d-copy.batch.sh'),
|
||||||
args : files('tests/gen7-2d-copy.batch.sh'),
|
|
||||||
workdir : meson.current_build_dir(),
|
workdir : meson.current_build_dir(),
|
||||||
)
|
)
|
||||||
test(
|
test(
|
||||||
'intel-symbol-check',
|
'intel-symbol-check',
|
||||||
prog_bash,
|
find_program('intel-symbol-check'),
|
||||||
env : env_test,
|
env : env_test,
|
||||||
args : [files('intel-symbol-check'), libdrm_intel]
|
args : libdrm_intel,
|
||||||
)
|
)
|
||||||
|
|
|
@ -69,7 +69,7 @@ pkg.generate(
|
||||||
|
|
||||||
test(
|
test(
|
||||||
'kms-symbol-check',
|
'kms-symbol-check',
|
||||||
prog_bash,
|
find_program('kms-symbol-check'),
|
||||||
env : env_test,
|
env : env_test,
|
||||||
args : [files('kms-symbol-check'), libkms]
|
args : libkms,
|
||||||
)
|
)
|
||||||
|
|
|
@ -256,9 +256,6 @@ if prog_xslt.found()
|
||||||
endif
|
endif
|
||||||
with_man_pages = with_man_pages != 'false' and prog_xslt.found() and prog_sed.found()
|
with_man_pages = with_man_pages != 'false' and prog_xslt.found() and prog_sed.found()
|
||||||
|
|
||||||
# Used for tests
|
|
||||||
prog_bash = find_program('bash')
|
|
||||||
|
|
||||||
config.set10('HAVE_VISIBILITY',
|
config.set10('HAVE_VISIBILITY',
|
||||||
cc.compiles('''int foo_hidden(void) __attribute__((visibility(("hidden"))));''',
|
cc.compiles('''int foo_hidden(void) __attribute__((visibility(("hidden"))));''',
|
||||||
name : 'compiler supports __attribute__(("hidden"))'))
|
name : 'compiler supports __attribute__(("hidden"))'))
|
||||||
|
|
|
@ -53,7 +53,7 @@ pkg.generate(
|
||||||
|
|
||||||
test(
|
test(
|
||||||
'nouveau-symbol-check',
|
'nouveau-symbol-check',
|
||||||
prog_bash,
|
find_program('nouveau-symbol-check'),
|
||||||
env : env_test,
|
env : env_test,
|
||||||
args : [files('nouveau-symbol-check'), libdrm_nouveau]
|
args : libdrm_nouveau,
|
||||||
)
|
)
|
||||||
|
|
|
@ -48,7 +48,7 @@ pkg.generate(
|
||||||
|
|
||||||
test(
|
test(
|
||||||
'omap-symbol-check',
|
'omap-symbol-check',
|
||||||
prog_bash,
|
find_program('omap-symbol-check'),
|
||||||
env : env_test,
|
env : env_test,
|
||||||
args : [files('omap-symbol-check'), libdrm_omap]
|
args : libdrm_omap,
|
||||||
)
|
)
|
||||||
|
|
|
@ -58,7 +58,7 @@ pkg.generate(
|
||||||
|
|
||||||
test(
|
test(
|
||||||
'radeon-symbol-check',
|
'radeon-symbol-check',
|
||||||
prog_bash,
|
find_program('radeon-symbol-check'),
|
||||||
env : env_test,
|
env : env_test,
|
||||||
args : [files('radeon-symbol-check'), libdrm_radeon]
|
args : libdrm_radeon,
|
||||||
)
|
)
|
||||||
|
|
|
@ -47,7 +47,7 @@ pkg.generate(
|
||||||
|
|
||||||
test(
|
test(
|
||||||
'tegra-symbol-check',
|
'tegra-symbol-check',
|
||||||
prog_bash,
|
find_program('tegra-symbol-check'),
|
||||||
env : env_test,
|
env : env_test,
|
||||||
args : [files('tegra-symbol-check'), libdrm_tegra]
|
args : libdrm_tegra,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue