summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@imgtec.com>2017-10-30 15:42:16 +0000
committerEric Engestrom <eric.engestrom@imgtec.com>2017-10-31 17:59:44 +0000
commit1946de2b71b08cd60e6a108cf642d82086be8236 (patch)
treeb37ba9adc74e3d89f251e1e4ea77821194d28e1b
parentddb3a695a8fba949fd6e8bc1b483aa361b3fbd5a (diff)
meson: pass correct env/args to egl tests
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
-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 cc51671f9d..254e7e7a17 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