build: Add tests directories to SUBDIRS
authorMatt Turner <mattst88@gmail.com>
Mon, 21 Jan 2013 02:00:14 +0000 (18:00 -0800)
committerMatt Turner <mattst88@gmail.com>
Mon, 22 Jul 2013 17:48:45 +0000 (10:48 -0700)
Fixes a problem with distcheck.

Makefile.am
src/mapi/glapi/Makefile.am
src/mapi/shared-glapi/Makefile.am
src/mesa/Makefile.am

index 29405a0fd31ef4fe869f3d06c1d28ba41e9fca2f..63e02c6a0f84ad8db4b09ed78a02d564ed5a8dee 100644 (file)
@@ -26,12 +26,6 @@ ACLOCAL_AMFLAGS = -I m4
 doxygen:
        cd doxygen && $(MAKE)
 
-check-local:
-       $(MAKE) -C src/mapi/glapi/tests check
-       $(MAKE) -C src/mapi/shared-glapi/tests check
-       $(MAKE) -C src/mesa/main/tests check
-       $(MAKE) -C src/glx/tests check
-
 .PHONY: doxygen
 
 # Rules for making release tarballs
index 1698d1474e2e79f46e4df791dcfa4b3b9580fd8d..05c67a6d4b8a653fc9174cd458c5801ee8b515cb 100644 (file)
@@ -19,6 +19,8 @@
 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
 # IN THE SOFTWARE.
 
+SUBDIRS = . tests
+
 TOP = $(top_srcdir)
 include Makefile.sources
 include ../Makefile.sources
index 2021a7330f119565a52c13b10c0600e683f05b34..e18c30a22718c2ce35cfbbb62eebbe7a9037dea7 100644 (file)
@@ -1,5 +1,7 @@
 # Used by OpenGL ES or when --enable-shared-glapi is specified
 
+SUBDIRS = . tests
+
 TOP = $(top_srcdir)
 GLAPI = $(top_srcdir)/src/mapi/glapi
 include $(top_srcdir)/src/mapi/Makefile.sources
index d5f5f5b866707f5b832b21f3675035b511371f05..e9c16e78ed491163947c7e50269cfc49e86d167e 100644 (file)
@@ -23,7 +23,7 @@ if NEED_LIBDRICORE
 DRICORE_SUBDIR = libdricore
 endif
 
-SUBDIRS = program x86 x86-64 . $(DRICORE_SUBDIR)
+SUBDIRS = program x86 x86-64 . $(DRICORE_SUBDIR) main/tests
 
 if HAVE_X11_DRIVER
 SUBDIRS += drivers/x11