Add a test for my fixes from July 20th.

2008-07-22  Sven Herzberg  <sven@imendio.com>

	Add a test for my fixes from July 20th.

	* configure.in: create gdk/tests/Makefile
	* gdk/Makefile.am: include the tests subfolder
	* gdk/tests/Makefile.am: create and run my test
	* gdk/tests/check-gdk-cairo.c (test), (main): the test that I wrote
	(passes at least for x11 and quartz backends)


svn path=/trunk/; revision=20894
This commit is contained in:
Sven Herzberg
2008-07-22 18:50:54 +00:00
committed by Sven Herzberg
parent db7915ec51
commit ef3e772fbb
5 changed files with 172 additions and 2 deletions

20
gdk/tests/Makefile.am Normal file
View File

@ -0,0 +1,20 @@
include $(top_srcdir)/Makefile.decl
NULL=
check_PROGRAMS=check-gdk-cairo
TESTS=$(check_PROGRAMS)
AM_CPPFLAGS=\
$(GDK_DEP_CFLAGS) \
-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)