summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: 906e054a9d5c5a68355cf74f001df0cb4396e8c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Copyright 1999-2020 ImageMagick Studio LLC, a non-profit organization
# dedicated to making software imaging solutions freely available.
#
# You may not use this file except in compliance with the License.
# obtain a copy of the License at
#
#   https://imagemagick.org/script/license.php
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# 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 = $(TESTS_CPPFLAGS)
tests_validate_LDFLAGS  = $(LDFLAGS)
tests_validate_LDADD    = $(MAGICKCORE_LIBS) $(MAGICKWAND_LIBS) $(MATH_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_CPPFLAGS = $(TESTS_CPPFLAGS)
tests_wandtest_LDFLAGS  = $(LDFLAGS)
tests_wandtest_LDADD    = $(MAGICKCORE_LIBS) $(MAGICKWAND_LIBS)

TESTS_XFAIL_TESTS = 

TESTS_TESTS = \
  tests/cli-colorspace.tap \
  tests/cli-pipe.tap \
  tests/validate-colorspace.tap \
  tests/validate-compare.tap \
  tests/validate-composite.tap \
  tests/validate-convert.tap \
  tests/validate-formats-disk.tap \
  tests/validate-formats-map.tap \
  tests/validate-formats-memory.tap \
  tests/validate-identify.tap \
  tests/validate-import.tap \
  tests/validate-montage.tap \
  tests/validate-stream.tap \
  tests/drawtest.tap \
  tests/wandtest.tap

TESTS_EXTRA_DIST = \
  tests/common.shi \
  tests/rose.pnm \
  tests/input_256c.miff \
  tests/input_bilevel.miff \
  tests/input_gray.miff \
  tests/input_truecolor.miff \
  tests/sequence.miff \
  $(TESTS_TESTS)

TESTS_CLEANFILES = \
  tests/*_out.*