• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 1999-2016 ImageMagick Studio LLC, a non-profit organization
2# 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.
16TESTS_CPPFLAGS = $(AM_CPPFLAGS)
17
18TESTS_CHECK_PGRMS = \
19	tests/validate \
20	tests/drawtest \
21	tests/wandtest
22
23tests_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)
27
28tests_drawtest_SOURCES  = tests/drawtest.c
29tests_drawtest_CPPFLAGS = $(TESTS_CPPFLAGS)
30tests_drawtest_LDFLAGS  = $(LDFLAGS)
31tests_drawtest_LDADD    = $(MAGICKCORE_LIBS) $(MAGICKWAND_LIBS)
32
33tests_wandtest_SOURCES  = tests/wandtest.c
34tests_wandtest_CPPFLAGS = $(TESTS_CPPFLAGS)
35tests_wandtest_LDFLAGS  = $(LDFLAGS)
36tests_wandtest_LDADD    = $(MAGICKCORE_LIBS) $(MAGICKWAND_LIBS)
37
38TESTS_XFAIL_TESTS =
39
40TESTS_TESTS = \
41	tests/cli-colorspace.tap \
42	tests/cli-pipe.tap \
43	tests/validate-colorspace.tap \
44	tests/validate-compare.tap \
45	tests/validate-composite.tap \
46	tests/validate-convert.tap \
47	tests/validate-formats-disk.tap \
48	tests/validate-formats-map.tap \
49	tests/validate-formats-memory.tap \
50	tests/validate-identify.tap \
51	tests/validate-import.tap \
52	tests/validate-montage.tap \
53	tests/validate-stream.tap \
54	tests/drawtest.tap \
55	tests/wandtest.tap
56
57TESTS_EXTRA_DIST = \
58	tests/common.shi \
59  tests/rose.pnm \
60  tests/input_256c.miff \
61  tests/input_bilevel.miff \
62  tests/input_gray.miff \
63  tests/input_truecolor.miff \
64  tests/sequence.miff \
65	$(TESTS_TESTS)
66
67TESTS_CLEANFILES = \
68	tests/*_out.*
69