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
This commit is contained in:
Sven Herzberg
2008-08-08 22:22:26 +00:00
committed by Sven Herzberg
parent 1c60b85915
commit 56710ee7d7
3 changed files with 15 additions and 1 deletions

View File

@@ -1,3 +1,12 @@
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
2008-08-08 Sven Neumann <sven@gimp.org>
* gtk/gtkscale.c

View File

@@ -2,11 +2,13 @@ include $(top_srcdir)/Makefile.decl
NULL=
#check_PROGRAMS=check-gdk-cairo
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)

View File

@@ -134,6 +134,9 @@ main (int argc,
g_object_unref (pbuf_platform);
g_object_unref (pbuf_imagesrf);
g_unlink ("gdksurface.png");
g_unlink ("cairosurface.png");
return 0;
}