[Mesa-dev] [PATCH] tests: Fix make check for out of tree builds.

Matt Turner mattst88 at gmail.com
Mon Nov 11 14:06:40 PST 2013


On Mon, Nov 11, 2013 at 12:18 PM, Rico Schüller <kgbricola at web.de> wrote:
> Signed-off-by: Rico Schüller <kgbricola at web.de>
> ---
>  src/mapi/shared-glapi/tests/Makefile.am | 1 +
>  src/mesa/main/tests/Makefile.am         | 1 +
>  2 Dateien geändert, 2 Zeilen hinzugefügt(+)
>
> diff --git a/src/mapi/shared-glapi/tests/Makefile.am b/src/mapi/shared-glapi/tests/Makefile.am
> index 98065fc..7e71b4f 100644
> --- a/src/mapi/shared-glapi/tests/Makefile.am
> +++ b/src/mapi/shared-glapi/tests/Makefile.am
> @@ -3,6 +3,7 @@ AM_CFLAGS = $(PTHREAD_CFLAGS)
>  AM_CPPFLAGS = \
>         -I$(top_srcdir)/src/gtest/include \
>         -I$(top_srcdir)/src/mapi \
> +       -I$(top_builddir)/src/mapi \
>         -I$(top_srcdir)/include
>
>  TESTS = shared-glapi-test
> diff --git a/src/mesa/main/tests/Makefile.am b/src/mesa/main/tests/Makefile.am
> index 97713f2..0d3a51f 100644
> --- a/src/mesa/main/tests/Makefile.am
> +++ b/src/mesa/main/tests/Makefile.am
> @@ -7,6 +7,7 @@ AM_CPPFLAGS = \
>         -I$(top_srcdir)/src/gtest/include \
>         -I$(top_srcdir)/src/mapi \
>         -I$(top_srcdir)/src/mesa \
> +       -I$(top_builddir)/src/mesa \
>         -I$(top_srcdir)/include \
>         $(DEFINES) $(INCLUDE_DIRS)
>
> --
> 1.7.11.7

Thanks! Reviewed-by and committed.


More information about the mesa-dev mailing list