wayland-egl: Pass nm path to check script
authorDaniel Stone <daniels@collabora.com>
Mon, 19 Mar 2018 12:20:54 +0000 (12:20 +0000)
committerDerek Foreman <derekf@osg.samsung.com>
Mon, 19 Mar 2018 16:39:11 +0000 (11:39 -0500)
A previous patch used $NM as an environment variable, but this was only
set as a make variable. Make sure it is passed through from make to the
environment we use to run tests.

v2: Quote argument when passing to shell.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reported-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Fixes: 6903e4d53925 ("wayland-egl: use correct `nm` path when cross-compiling")
Cc: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Makefile.am

index 6f59c36..741db5e 100644 (file)
@@ -198,6 +198,7 @@ AM_TESTS_ENVIRONMENT =                                                      \
        TEST_OUTPUT_DIR='$(top_builddir)/tests/output'                  \
        WAYLAND_EGL_LIB='$(top_builddir)/.libs/libwayland-egl.so'       \
        SED=$(SED)                                                      \
+       NM='$(NM)'                                                      \
        ;
 
 TESTS = $(built_test_programs)                 \