gd-libgd / tests / Makefile.am

noinst_LIBRARIES = libgdtest.a

libgdtest_a_SOURCES = gdtest/gdtest.c ../src/gdhelpers.c

check_PROGRAMS = \
	gd2/gd2_empty_file \
	gdimagesetpixel/bug00186 \
	gdimagestringftex/gdimagestringftex_returnfontpathname \
	gdimageline/gdimageline_aa_outofrange \
	gdimagerectangle/bug00003 \
	gdimagerectangle/bug00106_gdimagerectangle \
	gd/gd_null \
	gd/gd_num_colors \
	tga/tga_null \
	gdimagepixelate/gdimagepixelate \
	gdimagecopy/bug00007 \
	gdnewfilectx/gdnewfilectx_null \
	gdimagefilledrectangle/bug00078 \
	gdimagefilledrectangle/bug00004 \
	gdimagefilledrectangle/bug00106_gdimagefilledrectangle \
	gdimagecolordeallocate/gdimagecolordeallocate \
	wbmp/wbmp_null \
	gdimagecolortransparent/gdimagecolortransparent \
	gif/bug00005_2 \
	gif/gif_null \
	gif/bug00181 \
	gif/bug00227 \
	bmp/bmp_null

EXTRA_PROGRAMS = \
	gdimagestringft/gdimagestringft_bbox \
	gdtiled/bug00032 \
	gd2/gd2_im2im \
	gd2/gd2_null \
	gd2/gd2_read \
	gdimagearc/bug00079 \
	gdimageline/gdimageline_aa \
	gdimageline/bug00072 \
	gdimageline/bug00077 \
	gdimageline/bug00111 \
	gdimageopenpolygon/gdimageopenpolygon2 \
	gdimageopenpolygon/gdimageopenpolygon1 \
	gdimageopenpolygon/gdimageopenpolygon0 \
	gdimageopenpolygon/gdimageopenpolygon3 \
	gd/gd_im2im \
	gdimagecopy/bug00081 \
	gdimagecopyrotated/bug00020 \
	gdimagepolygon/gdimagepolygon0 \
	gdimagepolygon/gdimagepolygon3 \
	gdimagepolygon/gdimagepolygon1 \
	gdimagepolygon/gdimagepolygon2 \
	gdimagecolorresolve/gdimagecolorresolve \
	gdimagefilledpolygon/gdimagefilledpolygon0 \
	gdimagefilledpolygon/gdimagefilledpolygon3 \
	gdimagefilledpolygon/gdimagefilledpolygon2 \
	gdimagefilledpolygon/gdimagefilledpolygon1 \
	gdimagefilledpolygon/bug00100 \
	gdimagecolorreplace/gdimagecolorreplace \
	gdimagefill/bug00002_2 \
	gdimagefill/bug00002_1 \
	gdimagefill/bug00002_4 \
	gdimagefill/bug00002_3 \
	gdimagecolorclosest/gdimagecolorclosest \
	gif/bug00005 \
	gif/gif_im2im \
	gif/bug00066 \
	gif/bug00006 \
	gif/bug00060 \
	gdimagecolorexact/gdimagecolorexact \
	gdimagefilledellipse/bug00191 \
	gdimagefilledellipse/bug00010 \
	xpm/bug00185 \
	xpm/color_name \
	xpm/bug00166 \
	jpeg/jpeg_empty_file \
	jpeg/jpeg_resolution \
	jpeg/jpeg_im2im \
	jpeg/jpeg_null \
	jpeg/jpeg_read \
	png/png_null \
	png/bug00033 \
	png/bug00193 \
	png/bug00011 \
	png/bug00088 \
	png/png_resolution \
	png/bug00086 \
	png/png_im2im \
	wbmp/wbmp_im2im \
	tiff/tiff_null \
	tiff/tiff_im2im \
	freetype/bug00132 \
	bmp/bmp_im2im \
	gdimagescatterex/bug00208_1 \
	gdimagescatterex/bug00208_2 \
	gdimagefilltoborder/bug00037

if HAVE_LIBXPM
check_PROGRAMS += \
	xpm/bug00185 \
	xpm/color_name \
	xpm/bug00166
endif

if HAVE_LIBJPEG
check_PROGRAMS += \
	jpeg/jpeg_empty_file \
	jpeg/jpeg_im2im \
	jpeg/jpeg_null
if HAVE_LIBPNG
check_PROGRAMS += \
	jpeg/jpeg_resolution \
	jpeg/jpeg_read
endif
endif

if HAVE_LIBZ
check_PROGRAMS += \
	gd2/gd2_null
endif

if HAVE_LIBPNG
if HAVE_LIBZ
check_PROGRAMS += \
	gd2/gd2_read \
	gd2/gd2_im2im \
	gdtiled/bug00032
endif
check_PROGRAMS += \
	gdimagestringft/gdimagestringft_bbox \
	gdimagearc/bug00079 \
	gdimageline/gdimageline_aa \
	gdimageline/bug00072 \
	gdimageline/bug00077 \
	gdimageline/bug00111 \
	gdimageopenpolygon/gdimageopenpolygon2 \
	gdimageopenpolygon/gdimageopenpolygon1 \
	gdimageopenpolygon/gdimageopenpolygon0 \
	gdimageopenpolygon/gdimageopenpolygon3 \
	gd/gd_im2im \
	gdimagecopy/bug00081 \
	gdimagecopyrotated/bug00020 \
	gdimagepolygon/gdimagepolygon0 \
	gdimagepolygon/gdimagepolygon3 \
	gdimagepolygon/gdimagepolygon1 \
	gdimagepolygon/gdimagepolygon2 \
	gdimagecolorresolve/gdimagecolorresolve \
	gdimagefilledpolygon/gdimagefilledpolygon0 \
	gdimagefilledpolygon/gdimagefilledpolygon3 \
	gdimagefilledpolygon/gdimagefilledpolygon2 \
	gdimagefilledpolygon/gdimagefilledpolygon1 \
	gdimagefilledpolygon/bug00100 \
	gdimagecolorreplace/gdimagecolorreplace \
	gdimagefill/bug00002_2 \
	gdimagefill/bug00002_1 \
	gdimagefill/bug00002_4 \
	gdimagefill/bug00002_3 \
	gdimagecolorclosest/gdimagecolorclosest \
	gif/bug00005 \
	gif/gif_im2im \
	gif/bug00066 \
	gif/bug00006 \
	gif/bug00060 \
	gdimagecolorexact/gdimagecolorexact \
	gdimagefilledellipse/bug00191 \
	gdimagefilledellipse/bug00010 \
	png/png_null \
	png/bug00033 \
	png/bug00193 \
	png/bug00011 \
	png/bug00088 \
	png/png_resolution \
	png/bug00086 \
	png/png_im2im \
	wbmp/wbmp_im2im \
	bmp/bmp_im2im \
	gdimagescatterex/bug00208_1 \
	gdimagescatterex/bug00208_2 \
	gdimagefilltoborder/bug00037
endif

if HAVE_LIBTIFF
check_PROGRAMS += \
	tiff/tiff_null \
	tiff/tiff_im2im
endif

if HAVE_LIBFREETYPE
check_PROGRAMS +=
	freetype/bug00132
endif

LDADD = ../src/libgd.la libgdtest.a
AM_CPPFLAGS = -I$(top_srcdir)/src -I $(top_srcdir)/tests/gdtest

TESTS = $(check_PROGRAMS)

CLEANFILES = \
	a.png \
	bmp_im2im_dst.bmp \
	bmp_im2im_src.bmp \
	bug00132.c_35_diff.png \
	bug00132.c_35_out.png \
	bug00181.gif \
	bug00181a.gif \
	bug00227.gif \
	gd2_im2im_dst.gd2 \
	gd2_im2im_src.gd2 \
	gd_im2im_dst.gd \
	gd_im2im_src.gd \
	gdimageline_aa.c_38_diff.png \
	gdimageline_aa.c_38_out.png \
	gdimagestringft_bbox.png \
	gif_im2im_dst.gif \
	gif_im2im_src.gif \
	jpeg_im2im_dst.jpeg \
	jpeg_im2im_src.jpeg \
	jpeg_read.c_25_diff.png \
	jpeg_read.c_25_out.png \
	png_im2im_dst.png \
	png_im2im_src.png \
	tiff_im2im_dst.tiff \
	tiff_im2im_src.tiff \
	wbmp/wbmp_im2im_dst.wbmp \
	wbmp/wbmp_im2im_src.wbmp \
	wbmp_im2im_dst.wbmp \
	wbmp_im2im_src.wbmp
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.