2010-07-12 15:16:31 +08:00
|
|
|
#----------------------------------------------------------------------------------------------------
|
|
|
|
|
# GTSAM tests
|
|
|
|
|
# More elaborate unit tests that test functionality with slam examples
|
|
|
|
|
#----------------------------------------------------------------------------------------------------
|
|
|
|
|
|
2010-08-20 01:23:19 +08:00
|
|
|
# use nostdinc to turn off -I. and -I.., we do not need them because
|
|
|
|
|
# header files are qualified so they can be included in external projects.
|
|
|
|
|
AUTOMAKE_OPTIONS = nostdinc
|
|
|
|
|
|
2010-10-09 06:04:47 +08:00
|
|
|
check_PROGRAMS =
|
|
|
|
|
check_PROGRAMS += testGaussianBayesNet testGaussianFactor testGaussianFactorGraph
|
|
|
|
|
check_PROGRAMS += testGaussianISAM
|
|
|
|
|
check_PROGRAMS += testGraph
|
2010-10-10 08:51:57 +08:00
|
|
|
check_PROGRAMS += testInference
|
2010-10-09 06:04:47 +08:00
|
|
|
check_PROGRAMS += testGaussianJunctionTree
|
2010-07-12 15:16:31 +08:00
|
|
|
check_PROGRAMS += testNonlinearEquality testNonlinearFactor testNonlinearFactorGraph
|
2011-11-07 02:26:47 +08:00
|
|
|
check_PROGRAMS += testNonlinearOptimizer testDoglegOptimizer
|
2010-10-09 06:04:47 +08:00
|
|
|
check_PROGRAMS += testSymbolicBayesNet testSymbolicFactorGraph
|
2012-01-30 12:34:46 +08:00
|
|
|
#check_PROGRAMS += testTupleValues
|
2011-01-20 23:42:11 +08:00
|
|
|
check_PROGRAMS += testNonlinearISAM
|
2011-06-03 23:07:11 +08:00
|
|
|
check_PROGRAMS += testBoundingConstraint
|
2012-01-31 00:46:36 +08:00
|
|
|
#check_PROGRAMS += testPose2SLAMwSPCG
|
2011-08-19 02:06:35 +08:00
|
|
|
check_PROGRAMS += testGaussianISAM2
|
2011-08-27 20:28:47 +08:00
|
|
|
check_PROGRAMS += testExtendedKalmanFilter
|
2012-01-02 10:24:29 +08:00
|
|
|
check_PROGRAMS += testRot3Optimization
|
2010-07-12 15:16:31 +08:00
|
|
|
|
|
|
|
|
# Timing tests
|
2010-11-04 06:35:02 +08:00
|
|
|
noinst_PROGRAMS = timeGaussianFactorGraph timeSequentialOnDataset timeMultifrontalOnDataset
|
2010-07-12 15:16:31 +08:00
|
|
|
|
|
|
|
|
#----------------------------------------------------------------------------------------------------
|
|
|
|
|
# rules to build unit tests
|
|
|
|
|
#----------------------------------------------------------------------------------------------------
|
|
|
|
|
TESTS = $(check_PROGRAMS)
|
2010-10-19 05:44:38 +08:00
|
|
|
AM_LDFLAGS = $(BOOST_LDFLAGS)
|
2011-06-02 22:35:26 +08:00
|
|
|
AM_CPPFLAGS = $(BOOST_CPPFLAGS) -I$(top_srcdir)
|
2010-08-27 23:31:20 +08:00
|
|
|
|
2010-10-26 04:10:33 +08:00
|
|
|
LDADD = ../gtsam/libgtsam.la ../CppUnitLite/libCppUnitLite.a
|
2010-07-12 15:16:31 +08:00
|
|
|
AM_DEFAULT_SOURCE_EXT = .cpp
|
|
|
|
|
|
|
|
|
|
# rule to run an executable
|
|
|
|
|
%.run: % $(LDADD)
|
|
|
|
|
./$^
|
|
|
|
|
|
2010-10-03 07:38:01 +08:00
|
|
|
# rule to run executable with valgrind
|
|
|
|
|
%.valgrind: % $(LDADD)
|
|
|
|
|
valgrind ./$^
|