blob: 47c9d49c7f21b89a3388a5ae9c58c6028dc0612b [file] [log] [blame]
Cristy7ce65e72015-12-12 18:03:16 -05001# Copyright 1999-2016 ImageMagick Studio LLC, a non-profit organization
cristy3ed852e2009-09-05 21:47:34 +00002# dedicated to making software imaging solutions freely available.
3#
4# You may not use this file except in compliance with the License.
5# obtain a copy of the License at
6#
7# http://www.imagemagick.org/script/license.php
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15# Makefile for the ImageMagick validation suite.
cristy30841e62014-05-19 00:45:15 +000016TESTS_CPPFLAGS = $(AM_CPPFLAGS)
cristy3ed852e2009-09-05 21:47:34 +000017
18TESTS_CHECK_PGRMS = \
cristy04fb5db2012-08-21 15:58:33 +000019 tests/validate \
20 tests/drawtest \
21 tests/wandtest
cristy3ed852e2009-09-05 21:47:34 +000022
cristy30841e62014-05-19 00:45:15 +000023tests_validate_SOURCES = tests/validate.c tests/validate.h
24tests_validate_CPPFLAGS = $(TESTS_CPPFLAGS)
25tests_validate_LDFLAGS = $(LDFLAGS)
26tests_validate_LDADD = $(MAGICKCORE_LIBS) $(MAGICKWAND_LIBS) $(MATH_LIBS)
cristy3ed852e2009-09-05 21:47:34 +000027
cristy30841e62014-05-19 00:45:15 +000028tests_drawtest_SOURCES = tests/drawtest.c
29tests_drawtest_CPPFLAGS = $(TESTS_CPPFLAGS)
30tests_drawtest_LDFLAGS = $(LDFLAGS)
31tests_drawtest_LDADD = $(MAGICKCORE_LIBS) $(MAGICKWAND_LIBS)
cristy04fb5db2012-08-21 15:58:33 +000032
cristy30841e62014-05-19 00:45:15 +000033tests_wandtest_SOURCES = tests/wandtest.c
34tests_wandtest_CPPFLAGS = $(TESTS_CPPFLAGS)
35tests_wandtest_LDFLAGS = $(LDFLAGS)
36tests_wandtest_LDADD = $(MAGICKCORE_LIBS) $(MAGICKWAND_LIBS)
cristy04fb5db2012-08-21 15:58:33 +000037
cristy3ed852e2009-09-05 21:47:34 +000038TESTS_XFAIL_TESTS =
39
40TESTS_TESTS = \
anthonyd0292722012-12-13 23:45:11 +000041 tests/cli-colorspace.tap \
42 tests/cli-pipe.tap \
cristy80e870e2013-05-07 12:23:02 +000043 tests/validate-colorspace.tap \
cristyedc81de2012-08-21 11:45:44 +000044 tests/validate-compare.tap \
45 tests/validate-composite.tap \
46 tests/validate-convert.tap \
cristy247eebde2013-06-13 01:01:43 +000047 tests/validate-formats-disk.tap \
48 tests/validate-formats-map.tap \
49 tests/validate-formats-memory.tap \
cristyedc81de2012-08-21 11:45:44 +000050 tests/validate-identify.tap \
51 tests/validate-import.tap \
52 tests/validate-montage.tap \
cristyedc81de2012-08-21 11:45:44 +000053 tests/validate-stream.tap \
cristy04fb5db2012-08-21 15:58:33 +000054 tests/drawtest.tap \
55 tests/wandtest.tap
cristy3ed852e2009-09-05 21:47:34 +000056
57TESTS_EXTRA_DIST = \
cristy305c5dd2012-09-13 00:30:13 +000058 tests/common.shi \
cristyd2ffc832012-10-06 00:34:37 +000059 tests/rose.pnm \
cristy04fb5db2012-08-21 15:58:33 +000060 tests/input_256c.miff \
61 tests/input_bilevel.miff \
62 tests/input_gray.miff \
63 tests/input_truecolor.miff \
64 tests/sequence.miff \
cristy3ed852e2009-09-05 21:47:34 +000065 $(TESTS_TESTS)
66
cristy80745632012-12-13 13:32:15 +000067TESTS_CLEANFILES = \
cristy04fb5db2012-08-21 15:58:33 +000068 tests/*_out.*