summaryrefslogtreecommitdiffstats
path: root/src/egl/meson.build
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2017-10-30 15:42:16 +0000
committerEric Engestrom <[email protected]>2017-10-31 17:59:44 +0000
commit1946de2b71b08cd60e6a108cf642d82086be8236 (patch)
treeb37ba9adc74e3d89f251e1e4ea77821194d28e1b /src/egl/meson.build
parentddb3a695a8fba949fd6e8bc1b483aa361b3fbd5a (diff)
meson: pass correct env/args to egl tests
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Dylan Baker <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl/meson.build')
-rw-r--r--src/egl/meson.build10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/egl/meson.build b/src/egl/meson.build
index cc51671f9d8..254e7e7a177 100644
--- a/src/egl/meson.build
+++ b/src/egl/meson.build
@@ -183,6 +183,12 @@ pkg.generate(
)
if with_tests
- test('egl-symbols-check', find_program('egl-symbols-check'))
- test('egl-entrypoint-check', find_program('egl-entrypoint-check'))
+ test('egl-symbols-check',
+ find_program('egl-symbols-check'),
+ args : libegl
+ )
+ test('egl-entrypoint-check',
+ find_program('egl-entrypoint-check'),
+ env : [ 'srcdir=' + meson.current_source_dir() ]
+ )
endif