*-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(
|
||||
'amdgpu-symbol-check',
|
||||
prog_bash,
|
||||
find_program('amdgpu-symbol-check'),
|
||||
env : env_test,
|
||||
args : [files('amdgpu-symbol-check'), libdrm_amdgpu]
|
||||
args : libdrm_amdgpu,
|
||||
)
|
||||
|
|
|
@ -54,6 +54,7 @@ ext_libdrm_etnaviv = declare_dependency(
|
|||
|
||||
test(
|
||||
'etnaviv-symbol-check',
|
||||
prog_bash,
|
||||
args : [files('etnaviv-symbol-check'), libdrm_etnaviv]
|
||||
find_program('etnaviv-symbol-check'),
|
||||
env : env_test,
|
||||
args : libdrm_etnaviv,
|
||||
)
|
||||
|
|
|
@ -48,7 +48,7 @@ pkg.generate(
|
|||
|
||||
test(
|
||||
'exynos-symbol-check',
|
||||
prog_bash,
|
||||
find_program('exynos-symbol-check'),
|
||||
env : env_test,
|
||||
args : [files('exynos-symbol-check'), libdrm_exynos]
|
||||
args : libdrm_exynos,
|
||||
)
|
||||
|
|
|
@ -71,7 +71,7 @@ pkg.generate(
|
|||
|
||||
test(
|
||||
'freedreno-symbol-check',
|
||||
prog_bash,
|
||||
find_program('freedreno-symbol-check'),
|
||||
env : env_test,
|
||||
args : [files('freedreno-symbol-check'), libdrm_freedreno]
|
||||
args : libdrm_freedreno,
|
||||
)
|
||||
|
|
|
@ -64,43 +64,37 @@ test_decode = executable(
|
|||
|
||||
test(
|
||||
'gen4-3d.batch',
|
||||
prog_bash,
|
||||
args : files('tests/gen4-3d.batch.sh'),
|
||||
find_program('tests/gen4-3d.batch.sh'),
|
||||
workdir : meson.current_build_dir(),
|
||||
)
|
||||
test(
|
||||
'gen45-3d.batch',
|
||||
prog_bash,
|
||||
args : files('tests/gm45-3d.batch.sh'),
|
||||
find_program('tests/gm45-3d.batch.sh'),
|
||||
workdir : meson.current_build_dir(),
|
||||
)
|
||||
test(
|
||||
'gen5-3d.batch',
|
||||
prog_bash,
|
||||
args : files('tests/gen5-3d.batch.sh'),
|
||||
find_program('tests/gen5-3d.batch.sh'),
|
||||
workdir : meson.current_build_dir(),
|
||||
)
|
||||
test(
|
||||
'gen6-3d.batch',
|
||||
prog_bash,
|
||||
args : files('tests/gen6-3d.batch.sh'),
|
||||
find_program('tests/gen6-3d.batch.sh'),
|
||||
workdir : meson.current_build_dir(),
|
||||
)
|
||||
test(
|
||||
'gen7-3d.batch',
|
||||
prog_bash,
|
||||
args : files('tests/gen7-3d.batch.sh'),
|
||||
find_program('tests/gen7-3d.batch.sh'),
|
||||
workdir : meson.current_build_dir(),
|
||||
)
|
||||
test(
|
||||
'gen7-2d-copy.batch',
|
||||
prog_bash,
|
||||
args : files('tests/gen7-2d-copy.batch.sh'),
|
||||
find_program('tests/gen7-2d-copy.batch.sh'),
|
||||
workdir : meson.current_build_dir(),
|
||||
)
|
||||
test(
|
||||
'intel-symbol-check',
|
||||
prog_bash,
|
||||
find_program('intel-symbol-check'),
|
||||
env : env_test,
|
||||
args : [files('intel-symbol-check'), libdrm_intel]
|
||||
args : libdrm_intel,
|
||||
)
|
||||
|
|
|
@ -69,7 +69,7 @@ pkg.generate(
|
|||
|
||||
test(
|
||||
'kms-symbol-check',
|
||||
prog_bash,
|
||||
find_program('kms-symbol-check'),
|
||||
env : env_test,
|
||||
args : [files('kms-symbol-check'), libkms]
|
||||
args : libkms,
|
||||
)
|
||||
|
|
|
@ -256,9 +256,6 @@ if prog_xslt.found()
|
|||
endif
|
||||
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',
|
||||
cc.compiles('''int foo_hidden(void) __attribute__((visibility(("hidden"))));''',
|
||||
name : 'compiler supports __attribute__(("hidden"))'))
|
||||
|
|
|
@ -53,7 +53,7 @@ pkg.generate(
|
|||
|
||||
test(
|
||||
'nouveau-symbol-check',
|
||||
prog_bash,
|
||||
find_program('nouveau-symbol-check'),
|
||||
env : env_test,
|
||||
args : [files('nouveau-symbol-check'), libdrm_nouveau]
|
||||
args : libdrm_nouveau,
|
||||
)
|
||||
|
|
|
@ -48,7 +48,7 @@ pkg.generate(
|
|||
|
||||
test(
|
||||
'omap-symbol-check',
|
||||
prog_bash,
|
||||
find_program('omap-symbol-check'),
|
||||
env : env_test,
|
||||
args : [files('omap-symbol-check'), libdrm_omap]
|
||||
args : libdrm_omap,
|
||||
)
|
||||
|
|
|
@ -58,7 +58,7 @@ pkg.generate(
|
|||
|
||||
test(
|
||||
'radeon-symbol-check',
|
||||
prog_bash,
|
||||
find_program('radeon-symbol-check'),
|
||||
env : env_test,
|
||||
args : [files('radeon-symbol-check'), libdrm_radeon]
|
||||
args : libdrm_radeon,
|
||||
)
|
||||
|
|
|
@ -47,7 +47,7 @@ pkg.generate(
|
|||
|
||||
test(
|
||||
'tegra-symbol-check',
|
||||
prog_bash,
|
||||
find_program('tegra-symbol-check'),
|
||||
env : env_test,
|
||||
args : [files('tegra-symbol-check'), libdrm_tegra]
|
||||
args : libdrm_tegra,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue