From 1946de2b71b08cd60e6a108cf642d82086be8236 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Mon, 30 Oct 2017 15:42:16 +0000 Subject: [PATCH] meson: pass correct env/args to egl tests Signed-off-by: Eric Engestrom Reviewed-by: Dylan Baker Reviewed-by: Emil Velikov --- src/egl/meson.build | 10 ++++++++-- 1 file 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 -- 2.30.2