[Mesa-dev] [PATCH mesa 06/11] meson: pass correct env/args to egl tests
Eric Engestrom
eric.engestrom at imgtec.com
Tue Oct 31 11:20:03 UTC 2017
Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
---
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 cc51671f9d8f24708405..254e7e7a1778a5abc654 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
--
Cheers,
Eric
More information about the mesa-dev
mailing list