summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-10-13 14:54:53 +0100
committerEmil Velikov <[email protected]>2017-10-13 14:57:33 +0100
commitee779c93d5c8aa12151b2f375e727d36ecc0c573 (patch)
tree066bfb49ff34d4dc765591fa19ffe219d3d369de /src/mapi
parente7f24859ca7e3f14fedaa59c18f4e6452ee423b8 (diff)
Revert "make: Fix test to be meson compatible"
This reverts commit fc48ad24272799b154de37f6a944eb391bdbbb82. There commit reference the previous commit as it justification of changing behaviour. Although unlike the said commit, there's nothing obviously wrong there. I'll take a look close why Meson fails to pick the file, but in the interim reverting this commit fixes the normal distcheck target.
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/Makefile.am2
-rw-r--r--src/mapi/shared-glapi/tests/check_table.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/mapi/Makefile.am b/src/mapi/Makefile.am
index 3febe27d74f..83e32d2185e 100644
--- a/src/mapi/Makefile.am
+++ b/src/mapi/Makefile.am
@@ -85,7 +85,6 @@ check_PROGRAMS += shared-glapi-test
shared_glapi_test_SOURCES = shared-glapi/tests/check_table.cpp
shared_glapi_test_CPPFLAGS = \
$(AM_CPPFLAGS) \
- -I$(top_builddir)/src/mapi/glapi \
-I$(top_srcdir)/src/gtest/include
shared_glapi_test_LDADD = \
$(top_builddir)/src/mapi/shared-glapi/libglapi.la \
@@ -149,7 +148,6 @@ check_PROGRAMS += glapi-test
glapi_test_SOURCES = glapi/tests/check_table.cpp
glapi_test_CPPFLAGS = \
$(AM_CPPFLAGS) \
- -I$(top_builddir)/src/mapi/glapi \
-I$(top_srcdir)/src/gtest/include
glapi_test_LDADD = \
diff --git a/src/mapi/shared-glapi/tests/check_table.cpp b/src/mapi/shared-glapi/tests/check_table.cpp
index 314e6769b49..02d313c22d3 100644
--- a/src/mapi/shared-glapi/tests/check_table.cpp
+++ b/src/mapi/shared-glapi/tests/check_table.cpp
@@ -25,7 +25,7 @@
#include "../../../mesa/main/glheader.h"
#include "glapi/glapi.h"
-#include "glapitable.h"
+#include "glapi/glapitable.h"
struct name_offset {
const char *name;