Home | History | Annotate | Download | only in tests
      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.
     16 TESTS_CPPFLAGS = $(AM_CPPFLAGS)
     17 
     18 TESTS_CHECK_PGRMS = \
     19 	tests/validate \
     20 	tests/drawtest \
     21 	tests/wandtest
     22 
     23 tests_validate_SOURCES  = tests/validate.c tests/validate.h
     24 tests_validate_CPPFLAGS = $(TESTS_CPPFLAGS)
     25 tests_validate_LDFLAGS  = $(LDFLAGS)
     26 tests_validate_LDADD    = $(MAGICKCORE_LIBS) $(MAGICKWAND_LIBS) $(MATH_LIBS)
     27 
     28 tests_drawtest_SOURCES  = tests/drawtest.c
     29 tests_drawtest_CPPFLAGS = $(TESTS_CPPFLAGS)
     30 tests_drawtest_LDFLAGS  = $(LDFLAGS)
     31 tests_drawtest_LDADD    = $(MAGICKCORE_LIBS) $(MAGICKWAND_LIBS)
     32 
     33 tests_wandtest_SOURCES  = tests/wandtest.c
     34 tests_wandtest_CPPFLAGS = $(TESTS_CPPFLAGS)
     35 tests_wandtest_LDFLAGS  = $(LDFLAGS)
     36 tests_wandtest_LDADD    = $(MAGICKCORE_LIBS) $(MAGICKWAND_LIBS)
     37 
     38 TESTS_XFAIL_TESTS = 
     39 
     40 TESTS_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 
     57 TESTS_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 
     67 TESTS_CLEANFILES = \
     68 	tests/*_out.*
     69