1626: Move mathematical morphology-related tests into tests/morpho.

https://svn.lrde.epita.fr/svn/oln/trunk/milena Index: ChangeLog from Roland Levillain <roland@lrde.epita.fr> Move mathematical morphology-related tests into tests/morpho. * tests/Makefile.am (SUBDIRS): Add morpho. (morpho_contrast, morpho_dilation, morpho_dilation_max_h) (morpho_erosion, morpho_erosion_min_h, morpho_gradient) (morpho_hit_or_miss, morpho_laplacian, morpho_opening_area) (morpho_thinning): Remove. (morpho_contrast_SOURCES, morpho_dilation_SOURCES) (morpho_dilation_max_h_SOURCES, morpho_erosion_SOURCES) (morpho_erosion_min_h_SOURCES, morpho_gradient_SOURCES) (morpho_hit_or_miss_SOURCES, morpho_laplacian_SOURCES) (morpho_opening_area_SOURCES, morpho_thinning_SOURCES): Remove. * tests/morpho/Makefile.am (check_PROGRAMS): New. (contrast_SOURCES, dilation_SOURCES, dilation_max_h_SOURCES) (erosion_SOURCES, erosion_min_h_SOURCES, gradient_SOURCES) (hit_or_miss_SOURCES, laplacian_SOURCES, opening_area_SOURCES) (thinning_SOURCES): New. (TESTS): New. * tests/morpho/contrast.cc, * tests/morpho/dilation.cc, * tests/morpho/dilation_max_h.cc, * tests/morpho/erosion.cc, * tests/morpho/erosion_min_h.cc, * tests/morpho/gradient.cc, * tests/morpho/hit_or_miss.cc, * tests/morpho/laplacian.cc, * tests/morpho/opening_area.cc, * tests/morpho/thinning.cc: Rename and move as... * tests/morpho_contrast.cc, * tests/morpho_dilation.cc, * tests/morpho_dilation_max_h.cc, * tests/morpho_erosion.cc, * tests/morpho_erosion_min_h.cc, * tests/morpho_gradient.cc, * tests/morpho_hit_or_miss.cc, * tests/morpho_laplacian.cc, * tests/morpho_opening_area.cc, * tests/morpho_thinning.cc: ...these. Makefile.am | 21 +-------------------- core/Makefile.am | 2 -- morpho/Makefile.am | 25 +++++++++++++++++++++++++ 3 files changed, 26 insertions(+), 22 deletions(-) Index: tests/Makefile.am --- tests/Makefile.am (revision 1625) +++ tests/Makefile.am (working copy) @@ -17,6 +17,7 @@ labeling \ level \ logical \ + morpho \ norm \ set \ util \ @@ -87,16 +88,6 @@ metal_pow \ metal_unconst \ metal_vec \ - morpho_contrast \ - morpho_dilation \ - morpho_dilation_max_h \ - morpho_erosion \ - morpho_erosion_min_h \ - morpho_gradient \ - morpho_hit_or_miss \ - morpho_laplacian \ - morpho_opening_area \ - morpho_thinning \ \ pixel \ pixter1d \ @@ -200,16 +191,6 @@ metal_pow_SOURCES = metal_pow.cc metal_unconst_SOURCES = metal_unconst.cc metal_vec_SOURCES = metal_vec.cc -morpho_contrast_SOURCES = morpho_contrast.cc -morpho_dilation_SOURCES = morpho_dilation.cc -morpho_dilation_max_h_SOURCES = morpho_dilation_max_h.cc -morpho_erosion_SOURCES = morpho_erosion.cc -morpho_erosion_min_h_SOURCES = morpho_erosion_min_h.cc -morpho_gradient_SOURCES = morpho_gradient.cc -morpho_hit_or_miss_SOURCES = morpho_hit_or_miss.cc -morpho_laplacian_SOURCES = morpho_laplacian.cc -morpho_opening_area_SOURCES = morpho_opening_area.cc -morpho_thinning_SOURCES = morpho_thinning.cc pixel_SOURCES = pixel.cc pixter1d_SOURCES = pixter1d.cc Index: tests/core/Makefile.am --- tests/core/Makefile.am (revision 1625) +++ tests/core/Makefile.am (working copy) @@ -41,6 +41,4 @@ p_queue_SOURCES = p_priority_queue_fast.cc p_queue_fast_SOURCES = p_priority_queue_fast.cc - - TESTS = $(check_PROGRAMS) Index: tests/morpho/Makefile.am --- tests/morpho/Makefile.am (revision 1625) +++ tests/morpho/Makefile.am (working copy) @@ -1,3 +1,28 @@ ## Process this file through Automake to create Makefile.in -*- Makefile -*- include $(top_srcdir)/milena/tests/tests.mk + +check_PROGRAMS = \ + contrast \ + dilation \ + dilation_max_h \ + erosion \ + erosion_min_h \ + gradient \ + hit_or_miss \ + laplacian \ + opening_area \ + thinning + +contrast_SOURCES = contrast.cc +dilation_SOURCES = dilation.cc +dilation_max_h_SOURCES = dilation_max_h.cc +erosion_SOURCES = erosion.cc +erosion_min_h_SOURCES = erosion_min_h.cc +gradient_SOURCES = gradient.cc +hit_or_miss_SOURCES = hit_or_miss.cc +laplacian_SOURCES = laplacian.cc +opening_area_SOURCES = opening_area.cc +thinning_SOURCES = thinning.cc + +TESTS = $(check_PROGRAMS)
participants (1)
-
Roland Levillain