Port tests directory to win32.

macos/v1.5.9
Eric Anholt 11 years ago
parent 259136845d
commit bfd687da89
  1. 2
      Makefile.am
  2. 6
      configure.ac
  3. 4
      test/Makefile.am

@ -20,9 +20,7 @@
SUBDIRS = include/epoxy src
if HAVE_X11
SUBDIRS += test
endif
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = epoxy.pc

@ -56,6 +56,12 @@ case $host_os in
# resolved at link time, so we have to link directly aginst
# opengl32.dll. But that's the only GL provider, anyway.
EPOXY_LINK_LIBS="-lopengl32"
# Testing our built windows binaries requires that they be run
# under wine. Yeah, we should be nice and autodetect, but
# there's lots of missing autodetection for the testsuite
# (like checking for EGL and GLX libs in non-windows.).
AC_SUBST([LOG_COMPILER], [wine])
;;
*)
build_egl=yes

@ -43,8 +43,8 @@ AM_CPPFLAGS = \
TESTS = \
$(EGL_TESTS) \
$(GLX_TESTS) \
headerguards \
miscdefines \
headerguards$(EXEEXT) \
miscdefines$(EXEEXT) \
$()
check_PROGRAMS = $(TESTS)

Loading…
Cancel
Save