Cristy | 7ce65e7 | 2015-12-12 18:03:16 -0500 | [diff] [blame] | 1 | # Copyright 1999-2016 ImageMagick Studio LLC, a non-profit organization |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 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. |
cristy | 30841e6 | 2014-05-19 00:45:15 +0000 | [diff] [blame] | 16 | TESTS_CPPFLAGS = $(AM_CPPFLAGS) |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 17 | |
| 18 | TESTS_CHECK_PGRMS = \ |
cristy | 04fb5db | 2012-08-21 15:58:33 +0000 | [diff] [blame] | 19 | tests/validate \ |
| 20 | tests/drawtest \ |
| 21 | tests/wandtest |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 22 | |
cristy | 30841e6 | 2014-05-19 00:45:15 +0000 | [diff] [blame] | 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) |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 27 | |
cristy | 30841e6 | 2014-05-19 00:45:15 +0000 | [diff] [blame] | 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) |
cristy | 04fb5db | 2012-08-21 15:58:33 +0000 | [diff] [blame] | 32 | |
cristy | 30841e6 | 2014-05-19 00:45:15 +0000 | [diff] [blame] | 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) |
cristy | 04fb5db | 2012-08-21 15:58:33 +0000 | [diff] [blame] | 37 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 38 | TESTS_XFAIL_TESTS = |
| 39 | |
| 40 | TESTS_TESTS = \ |
anthony | d029272 | 2012-12-13 23:45:11 +0000 | [diff] [blame] | 41 | tests/cli-colorspace.tap \ |
| 42 | tests/cli-pipe.tap \ |
cristy | 80e870e | 2013-05-07 12:23:02 +0000 | [diff] [blame] | 43 | tests/validate-colorspace.tap \ |
cristy | edc81de | 2012-08-21 11:45:44 +0000 | [diff] [blame] | 44 | tests/validate-compare.tap \ |
| 45 | tests/validate-composite.tap \ |
| 46 | tests/validate-convert.tap \ |
cristy | 247eebde | 2013-06-13 01:01:43 +0000 | [diff] [blame] | 47 | tests/validate-formats-disk.tap \ |
| 48 | tests/validate-formats-map.tap \ |
| 49 | tests/validate-formats-memory.tap \ |
cristy | edc81de | 2012-08-21 11:45:44 +0000 | [diff] [blame] | 50 | tests/validate-identify.tap \ |
| 51 | tests/validate-import.tap \ |
| 52 | tests/validate-montage.tap \ |
cristy | edc81de | 2012-08-21 11:45:44 +0000 | [diff] [blame] | 53 | tests/validate-stream.tap \ |
cristy | 04fb5db | 2012-08-21 15:58:33 +0000 | [diff] [blame] | 54 | tests/drawtest.tap \ |
| 55 | tests/wandtest.tap |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 56 | |
| 57 | TESTS_EXTRA_DIST = \ |
cristy | 305c5dd | 2012-09-13 00:30:13 +0000 | [diff] [blame] | 58 | tests/common.shi \ |
cristy | d2ffc83 | 2012-10-06 00:34:37 +0000 | [diff] [blame] | 59 | tests/rose.pnm \ |
cristy | 04fb5db | 2012-08-21 15:58:33 +0000 | [diff] [blame] | 60 | tests/input_256c.miff \ |
| 61 | tests/input_bilevel.miff \ |
| 62 | tests/input_gray.miff \ |
| 63 | tests/input_truecolor.miff \ |
| 64 | tests/sequence.miff \ |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 65 | $(TESTS_TESTS) |
| 66 | |
cristy | 8074563 | 2012-12-13 13:32:15 +0000 | [diff] [blame] | 67 | TESTS_CLEANFILES = \ |
cristy | 04fb5db | 2012-08-21 15:58:33 +0000 | [diff] [blame] | 68 | tests/*_out.* |