Revert "make: Fix test to be meson compatible"
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 13 Oct 2017 13:54:53 +0000 (14:54 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 13 Oct 2017 13:57:33 +0000 (14:57 +0100)
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.

src/mapi/Makefile.am
src/mapi/shared-glapi/tests/check_table.cpp

index 3febe27d74f537e198ebc26653bffb9a55d9ef1a..83e32d2185edb884045febbddb85e209373e3123 100644 (file)
@@ -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 = \
index 314e6769b493c2f6c60cc918318561fe482da0b7..02d313c22d30a0cef3e50354bd28560f0893d2b8 100644 (file)
@@ -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;