| 1 | # |
|---|
| 2 | # Makefile for Magick++ tests |
|---|
| 3 | # |
|---|
| 4 | # Copyright Bob Friesenhahn, 1999, 2000, 2002, 2004 |
|---|
| 5 | # |
|---|
| 6 | AUTOMAKE_OPTIONS = 1.8 foreign nostdinc |
|---|
| 7 | |
|---|
| 8 | AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir)/Magick++/lib -I$(top_srcdir) |
|---|
| 9 | |
|---|
| 10 | # |
|---|
| 11 | # Execute 'make check' to compile and run a test program |
|---|
| 12 | # |
|---|
| 13 | check_PROGRAMS = \ |
|---|
| 14 | appendImages \ |
|---|
| 15 | attributes \ |
|---|
| 16 | averageImages \ |
|---|
| 17 | coalesceImages \ |
|---|
| 18 | coderInfo \ |
|---|
| 19 | color \ |
|---|
| 20 | colorHistogram \ |
|---|
| 21 | exceptions \ |
|---|
| 22 | montageImages \ |
|---|
| 23 | morphImages \ |
|---|
| 24 | readWriteBlob \ |
|---|
| 25 | readWriteImages |
|---|
| 26 | |
|---|
| 27 | LDADD = ../lib/libMagick++.la |
|---|
| 28 | |
|---|
| 29 | appendImages_SOURCES = appendImages.cpp |
|---|
| 30 | attributes_SOURCES = attributes.cpp |
|---|
| 31 | averageImages_SOURCES = averageImages.cpp |
|---|
| 32 | coalesceImages_SOURCES = coalesceImages.cpp |
|---|
| 33 | coderInfo_SOURCES = coderInfo.cpp |
|---|
| 34 | color_SOURCES = color.cpp |
|---|
| 35 | colorHistogram_SOURCES = colorHistogram.cpp |
|---|
| 36 | exceptions_SOURCES = exceptions.cpp |
|---|
| 37 | montageImages_SOURCES = montageImages.cpp |
|---|
| 38 | morphImages_SOURCES = morphImages.cpp |
|---|
| 39 | readWriteBlob_SOURCES = readWriteBlob.cpp |
|---|
| 40 | readWriteImages_SOURCES = readWriteImages.cpp |
|---|
| 41 | |
|---|
| 42 | |
|---|
| 43 | if WIN32_NATIVE_BUILD |
|---|
| 44 | SRCDIR='$(shell @WinPathScript@ $(srcdir)/)' |
|---|
| 45 | else |
|---|
| 46 | SRCDIR="$(srcdir)/" |
|---|
| 47 | endif |
|---|
| 48 | |
|---|
| 49 | MAGICK_ENV = "$(SHELL) $(top_builddir)/magick.sh" |
|---|
| 50 | |
|---|
| 51 | # Environment parameters to be used during tests |
|---|
| 52 | TESTS_ENVIRONMENT = \ |
|---|
| 53 | MAGICK_ENV=$(MAGICK_ENV) \ |
|---|
| 54 | SRCDIR=$(SRCDIR) |
|---|
| 55 | |
|---|
| 56 | # Tests to run |
|---|
| 57 | TESTS = \ |
|---|
| 58 | test_exceptions.sh \ |
|---|
| 59 | test_appendImages.sh \ |
|---|
| 60 | test_attributes.sh \ |
|---|
| 61 | test_averageImages.sh \ |
|---|
| 62 | test_coalesceImages.sh \ |
|---|
| 63 | test_colorHistogram.sh \ |
|---|
| 64 | test_color.sh \ |
|---|
| 65 | test_montageImages.sh \ |
|---|
| 66 | test_morphImages.sh \ |
|---|
| 67 | test_readWriteBlob.sh \ |
|---|
| 68 | test_readWriteImages.sh |
|---|
| 69 | |
|---|
| 70 | # Tests which are expected to fail |
|---|
| 71 | XFAIL_TESTS = |
|---|
| 72 | |
|---|
| 73 | # Extra files to distribute |
|---|
| 74 | EXTRA_DIST = \ |
|---|
| 75 | $(TESTS) \ |
|---|
| 76 | test_image.miff \ |
|---|
| 77 | test_image_anim.miff |
|---|
| 78 | |
|---|
| 79 | CLEANFILES = colorHistogram.txt testmagick_anim_out.miff ir.out # SunWS_cache |
|---|