build: Add tests directories to SUBDIRS

Fixes a problem with distcheck.
This commit is contained in:
Matt Turner
2013-01-20 18:00:14 -08:00
parent 7bae56c5c2
commit 5e4e145025
4 changed files with 5 additions and 7 deletions

View 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

View 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

View 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

View 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