summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRico Schüller <[email protected]>2013-11-11 21:18:27 +0100
committerMatt Turner <[email protected]>2013-11-11 14:06:17 -0800
commit23afe71f444067cad927273728529ff15ba394df (patch)
tree95d2d000e8ab5173622f9e18e8b786584923c611
parent348b91b7dcb2c160b7e0e4f5aedf7042590a0b5e (diff)
tests: Fix make check for out of tree builds.
Cc: "10.0" <[email protected]> Reviewed-by: Matt Turner <[email protected]> Signed-off-by: Rico Schüller <[email protected]>
-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)