gtk2/gdk/tests/Makefile.am
Sven Herzberg 56710ee7d7 Get the gdk+cairo test to pass distcheck, too
2008-08-09  Sven Herzberg  <sven@imendio.com>

	Get the gdk+cairo test to pass distcheck, too

	* gdk/tests/Makefile.am: set GDK_PIXBUF_MODULE_FILE so the test can
	pick up the one created at build time
	* gdk/tests/check-gdk-cairo.c (main): delete the output files after a
	successful test run


svn path=/trunk/; revision=21048
2008-08-08 22:22:26 +00:00

27 lines
567 B
Makefile

include $(top_srcdir)/Makefile.decl
NULL=
check_PROGRAMS=check-gdk-cairo
TESTS=$(check_PROGRAMS)
TESTS_ENVIRONMENT=GDK_PIXBUF_MODULE_FILE=$(top_builddir)/gdk-pixbuf/gdk-pixbuf.loaders
AM_CPPFLAGS=\
$(GDK_DEP_CFLAGS) \
-I$(top_srcdir) \
-I$(top_builddir)/gdk \
$(NULL)
check_gdk_cairo_SOURCES=\
check-gdk-cairo.c \
$(NULL)
check_gdk_cairo_LDADD=\
$(GDK_DEP_LIBS) \
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \
$(top_builddir)/gdk/libgdk-$(gdktarget)-$(GTK_API_VERSION).la \
$(NULL)
CLEANFILES = \
cairosurface.png \
gdksurface.png