summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorcristy <urban-warrior@git.imagemagick.org>2014-05-19 00:45:15 +0000
committercristy <urban-warrior@git.imagemagick.org>2014-05-19 00:45:15 +0000
commit30841e6deb8306e8b6103121209a9f7fd76161f5 (patch)
tree68af61f0dec7c60336a837b303e4bf8fa62cb47b /tests
parent326182d587fc1b1a8c934dafbf412d05615a540a (diff)
downloadImageMagick-30841e6deb8306e8b6103121209a9f7fd76161f5.tar.gz
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am22
-rw-r--r--tests/drawtest.c2
2 files changed, 14 insertions, 10 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index adfb7ad36..1f6eaf1fd 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -13,23 +13,27 @@
# limitations under the License.
#
# Makefile for the ImageMagick validation suite.
+TESTS_CPPFLAGS = $(AM_CPPFLAGS)
TESTS_CHECK_PGRMS = \
tests/validate \
tests/drawtest \
tests/wandtest
-tests_validate_SOURCES = tests/validate.c tests/validate.h
-tests_validate_CPPFLAGS = $(AM_CPPFLAGS)
-tests_validate_LDADD = $(MAGICKCORE_LIBS) $(MAGICKWAND_LIBS) $(MATH_LIBS)
+tests_validate_SOURCES = tests/validate.c tests/validate.h
+tests_validate_CPPFLAGS = $(TESTS_CPPFLAGS)
+tests_validate_LDFLAGS = $(LDFLAGS)
+tests_validate_LDADD = $(MAGICKCORE_LIBS) $(MAGICKWAND_LIBS) $(MATH_LIBS)
-tests_drawtest_SOURCES = tests/drawtest.c
-tests_drawtest_LDFLAGS = $(LDFLAGS)
-tests_drawtest_LDADD = $(MAGICKCORE_LIBS) $(MAGICKWAND_LIBS)
+tests_drawtest_SOURCES = tests/drawtest.c
+tests_drawtest_CPPFLAGS = $(TESTS_CPPFLAGS)
+tests_drawtest_LDFLAGS = $(LDFLAGS)
+tests_drawtest_LDADD = $(MAGICKCORE_LIBS) $(MAGICKWAND_LIBS)
-tests_wandtest_SOURCES = tests/wandtest.c
-tests_wandtest_LDFLAGS = $(LDFLAGS)
-tests_wandtest_LDADD = $(MAGICKCORE_LIBS) $(MAGICKWAND_LIBS)
+tests_wandtest_SOURCES = tests/wandtest.c
+tests_wandtest_CPPFLAGS = $(TESTS_CPPFLAGS)
+tests_wandtest_LDFLAGS = $(LDFLAGS)
+tests_wandtest_LDADD = $(MAGICKCORE_LIBS) $(MAGICKWAND_LIBS)
TESTS_XFAIL_TESTS =
diff --git a/tests/drawtest.c b/tests/drawtest.c
index dbccd00f9..3b876da12 100644
--- a/tests/drawtest.c
+++ b/tests/drawtest.c
@@ -63,7 +63,7 @@
exit(-1); \
}
-static MagickBooleanType ScribbleImage (MagickWand *canvas)
+static MagickBooleanType ScribbleImage(MagickWand *canvas)
{
DrawingWand
*picasso;