summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Schüller <kgbricola@web.de>2013-11-11 21:18:27 +0100
committerIan Romanick <ian.d.romanick@intel.com>2013-11-15 13:39:37 -0800
commitf9a74a0b4c3dc36a3e9437ba13124b5ebf6583c3 (patch)
tree603a71ae1bc1487aee352c260100cdcea1656ab1
parent0e3f5999b925aab627b21bca6670a9e1806715b2 (diff)
tests: Fix make check for out of tree builds.
Cc: "10.0" <mesa-stable@lists.freedesktop.org> Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Rico Schüller <kgbricola@web.de> (cherry picked from commit 23afe71f444067cad927273728529ff15ba394df)
-rw-r--r--src/mapi/shared-glapi/tests/Makefile.am1
-rw-r--r--src/mesa/main/tests/Makefile.am1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mapi/shared-glapi/tests/Makefile.am b/src/mapi/shared-glapi/tests/Makefile.am
index 98065fc7607..7e71b4fd1af 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 97713f2c38e..0d3a51f3962 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)