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 SUBDIRS = include/epoxy src
if HAVE_X11
SUBDIRS += test SUBDIRS += test
endif
pkgconfigdir = $(libdir)/pkgconfig pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = epoxy.pc pkgconfig_DATA = epoxy.pc

@ -56,6 +56,12 @@ case $host_os in
# resolved at link time, so we have to link directly aginst # resolved at link time, so we have to link directly aginst
# opengl32.dll. But that's the only GL provider, anyway. # opengl32.dll. But that's the only GL provider, anyway.
EPOXY_LINK_LIBS="-lopengl32" 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 build_egl=yes

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

Loading…
Cancel
Save