Commit 61b3b113 authored by Roland Levillain's avatar Roland Levillain
Browse files

Organize the tests into a hierarchy.

	* tests/fill.cc: Move file...
	* tests/algorithms/fill.cc: ...here.
	* tests/at.cc, tests/dpoint2d.cc, tests/grid.cc, tests/image1d.cc,
	* tests/image2d.cc, tests/image3d.cc, tests/image_entry.cc,
	* tests/npoints.cc, tests/point2d.cc, tests/window2d.cc: Move
	files...
	* tests/core/at.cc, tests/core/dpoint2d.cc, tests/core/grid.cc,
	* tests/core/image1d.cc, tests/core/image2d.cc,
	* tests/core/image3d.cc, tests/core/image_entry.cc,
	* tests/core/npoints.cc, tests/core/point2d.cc,
	* tests/core/window2d.cc: ...here.
	* tests/io_pnm.cc: Move file...
	* tests/io/io_pnm.cc: ...here.
	* tests/add_neighborhood_morpher.cc, tests/identity_morpher.cc,
	* tests/morphers.cc, tests/value_cast.cc: Move files...
	* tests/morphers/add_neighborhood_morpher.cc,
	* tests/morphers/identity_morpher.cc, tests/morphers/morphers.cc,
	* tests/morphers/value_cast.cc:: ...here.
	* tests/grey.cc: Move file...
	* tests/value/grey.cc: ...here.
	* tests/algorithms/Makefile.am, tests/core/Makefile.am,
	* tests/io/Makefile.am, tests/morphers/Makefile.am,
	* tests/value/Makefile.am: New.
	* tests/Makefile.am: Adjust.
	* tests/sanity/Makefile.am (CPPFLAGS): Add `-I$(srcdir)/..'.

	* oln/Makefile.am: Remove
	core/automatic/image/image_being_mutable.hh.
	Add core/automatic/image/mutable_image.hh.


git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@654 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent 6d7945c2
2006-10-17 Roland Levillain <roland@lrde.epita.fr>
Organize the tests into a hierarchy.
* tests/fill.cc: Move file...
* tests/algorithms/fill.cc: ...here.
* tests/at.cc, tests/dpoint2d.cc, tests/grid.cc, tests/image1d.cc,
* tests/image2d.cc, tests/image3d.cc, tests/image_entry.cc,
* tests/npoints.cc, tests/point2d.cc, tests/window2d.cc: Move
files...
* tests/core/at.cc, tests/core/dpoint2d.cc, tests/core/grid.cc,
* tests/core/image1d.cc, tests/core/image2d.cc,
* tests/core/image3d.cc, tests/core/image_entry.cc,
* tests/core/npoints.cc, tests/core/point2d.cc,
* tests/core/window2d.cc: ...here.
* tests/io_pnm.cc: Move file...
* tests/io/io_pnm.cc: ...here.
* tests/add_neighborhood_morpher.cc, tests/identity_morpher.cc,
* tests/morphers.cc, tests/value_cast.cc: Move files...
* tests/morphers/add_neighborhood_morpher.cc,
* tests/morphers/identity_morpher.cc, tests/morphers/morphers.cc,
* tests/morphers/value_cast.cc:: ...here.
* tests/grey.cc: Move file...
* tests/value/grey.cc: ...here.
* tests/algorithms/Makefile.am, tests/core/Makefile.am,
* tests/io/Makefile.am, tests/morphers/Makefile.am,
* tests/value/Makefile.am: New.
* tests/Makefile.am: Adjust.
* tests/sanity/Makefile.am (CPPFLAGS): Add `-I$(srcdir)/..'.
* oln/Makefile.am: Remove
core/automatic/image/image_being_mutable.hh.
Add core/automatic/image/mutable_image.hh.
2006-10-17 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr>
Replace the 'is_mutable' property by checking the 'lvalue' type.
......
......@@ -88,7 +88,7 @@ nobase_oln_HEADERS = \
core/automatic/image/image1d.hh \
core/automatic/image/image2d.hh \
core/automatic/image/image3d.hh \
core/automatic/image/image_being_mutable.hh \
core/automatic/image/mutable_image.hh \
core/automatic/image/image_being_random_accessible.hh \
core/automatic/image/image_having_neighborhood.hh \
core/automatic/image/image_having_neighborhood.hh \
......
## Process this file through Automake to create Makefile.in -*- Makefile -*-
SUBDIRS = check sanity
## FIXME: Revamp (see Olena 0.10's test suite).
# FIXME: Revamp (see Olena 0.10's test suite).
AM_CPPFLAGS = \
-I$(srcdir)/check \
-I$(top_srcdir)/olena -I$(top_srcdir)/extended \
-I$(top_srcdir)/static -I$(top_srcdir)/metalic \
-DOLN_IMG_DIR=\"$(top_srcdir)/olena/img\"
# FIXME: Add
#
# AM_CXXFLAGS = $(CXXFLAGS_STRICT) $(CXXFLAGS_DEBUG)
#
# when oln.m4 is available in the distribution.
# Meanwhile, alter CXXFLAGS to turn off any optimization (Automake will
# warn against this, but that's OK).
TESTS_CXXFLAGS = @TESTS_CXXFLAGS@
CXXFLAGS += $(TESTS_CXXFLAGS)
SUBDIRS = check sanity core value io morphers algorithms
noinst_HEADERS = data.hh
check_PROGRAMS = \
dpoint2d \
point2d \
grid \
image_entry \
image1d \
image2d \
image3d \
npoints \
window2d \
\
at \
\
grey \
io_pnm \
\
identity_morpher \
add_neighborhood_morpher \
value_cast \
morphers \
\
fill
# Images and auxiliary structures.
dpoint2d_SOURCES = dpoint2d.cc
point2d_SOURCES = point2d.cc
grid_SOURCES = grid.cc
image_entry_SOURCES = image_entry.cc
image1d_SOURCES = image1d.cc
image2d_SOURCES = image2d.cc
image3d_SOURCES = image3d.cc
npoints_SOURCES = npoints.cc
window2d_SOURCES = window2d.cc
# Methods.
at_SOURCES = at.cc
# I/O.
io_pnm_SOURCES = io_pnm.cc
# Value.
grey_SOURCES = grey.cc
# Morphers.
identity_morpher_SOURCES = identity_morpher.cc
add_neighborhood_morpher_SOURCES = add_neighborhood_morpher.cc
value_cast_SOURCES = value_cast.cc
morphers_SOURCES = morphers.cc
# Algorithms.
fill_SOURCES = fill.cc
TESTS = $(check_PROGRAMS)
## Process this file through Automake to create Makefile.in -*- Makefile -*-
## FIXME: Don't forget to split olena/tests/algorithms to several
## directories when the stock of algorithms grows (olena/tests/level,
## olena/tests/morpho, etc.).
## FIXME: Revamp (see Olena 0.10's test suite).
AM_CPPFLAGS = \
-I$(srcdir)/.. -I$(srcdir)/../check \
-I$(top_srcdir)/olena -I$(top_srcdir)/extended \
-I$(top_srcdir)/static -I$(top_srcdir)/metalic \
-DOLN_IMG_DIR=\"$(top_srcdir)/olena/img\"
# FIXME: Add
#
# AM_CXXFLAGS = $(CXXFLAGS_STRICT) $(CXXFLAGS_DEBUG)
#
# when oln.m4 is available in the distribution.
# Meanwhile, alter CXXFLAGS to turn off any optimization (Automake will
# warn against this, but that's OK).
TESTS_CXXFLAGS = @TESTS_CXXFLAGS@
CXXFLAGS += $(TESTS_CXXFLAGS)
check_PROGRAMS = \
fill
# Algorithms.
fill_SOURCES = fill.cc
TESTS = $(check_PROGRAMS)
## Process this file through Automake to create Makefile.in -*- Makefile -*-
## FIXME: Revamp (see Olena 0.10's test suite).
AM_CPPFLAGS = \
-I$(srcdir)/.. -I$(srcdir)/../check \
-I$(top_srcdir)/olena -I$(top_srcdir)/extended \
-I$(top_srcdir)/static -I$(top_srcdir)/metalic \
-DOLN_IMG_DIR=\"$(top_srcdir)/olena/img\"
# FIXME: Add
#
# AM_CXXFLAGS = $(CXXFLAGS_STRICT) $(CXXFLAGS_DEBUG)
#
# when oln.m4 is available in the distribution.
# Meanwhile, alter CXXFLAGS to turn off any optimization (Automake will
# warn against this, but that's OK).
TESTS_CXXFLAGS = @TESTS_CXXFLAGS@
CXXFLAGS += $(TESTS_CXXFLAGS)
check_PROGRAMS = \
dpoint2d \
point2d \
grid \
image_entry \
image1d \
image2d \
image3d \
npoints \
window2d \
\
at
# Images and auxiliary structures.
dpoint2d_SOURCES = dpoint2d.cc
point2d_SOURCES = point2d.cc
grid_SOURCES = grid.cc
image_entry_SOURCES = image_entry.cc
image1d_SOURCES = image1d.cc
image2d_SOURCES = image2d.cc
image3d_SOURCES = image3d.cc
npoints_SOURCES = npoints.cc
window2d_SOURCES = window2d.cc
# Methods.
at_SOURCES = at.cc
TESTS = $(check_PROGRAMS)
## Process this file through Automake to create Makefile.in -*- Makefile -*-
## FIXME: Revamp (see Olena 0.10's test suite).
AM_CPPFLAGS = \
-I$(srcdir)/.. -I$(srcdir)/../check \
-I$(top_srcdir)/olena -I$(top_srcdir)/extended \
-I$(top_srcdir)/static -I$(top_srcdir)/metalic \
-DOLN_IMG_DIR=\"$(top_srcdir)/olena/img\"
# FIXME: Add
#
# AM_CXXFLAGS = $(CXXFLAGS_STRICT) $(CXXFLAGS_DEBUG)
#
# when oln.m4 is available in the distribution.
# Meanwhile, alter CXXFLAGS to turn off any optimization (Automake will
# warn against this, but that's OK).
TESTS_CXXFLAGS = @TESTS_CXXFLAGS@
CXXFLAGS += $(TESTS_CXXFLAGS)
check_PROGRAMS = \
io_pnm
# I/O.
io_pnm_SOURCES = io_pnm.cc
TESTS = $(check_PROGRAMS)
## Process this file through Automake to create Makefile.in -*- Makefile -*-
## FIXME: Revamp (see Olena 0.10's test suite).
AM_CPPFLAGS = \
-I$(srcdir)/.. -I$(srcdir)/../check \
-I$(top_srcdir)/olena -I$(top_srcdir)/extended \
-I$(top_srcdir)/static -I$(top_srcdir)/metalic \
-DOLN_IMG_DIR=\"$(top_srcdir)/olena/img\"
# FIXME: Add
#
# AM_CXXFLAGS = $(CXXFLAGS_STRICT) $(CXXFLAGS_DEBUG)
#
# when oln.m4 is available in the distribution.
# Meanwhile, alter CXXFLAGS to turn off any optimization (Automake will
# warn against this, but that's OK).
TESTS_CXXFLAGS = @TESTS_CXXFLAGS@
CXXFLAGS += $(TESTS_CXXFLAGS)
check_PROGRAMS = \
identity_morpher \
add_neighborhood_morpher \
value_cast \
morphers
# Morphers.
identity_morpher_SOURCES = identity_morpher.cc
add_neighborhood_morpher_SOURCES = add_neighborhood_morpher.cc
value_cast_SOURCES = value_cast.cc
morphers_SOURCES = morphers.cc
TESTS = $(check_PROGRAMS)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment