Commit Graph

64 Commits (ae433fbe033b5bb5fde7e5c811afe796e35d8e05)

Author SHA1 Message Date
Joel Truher f8d9da1b8e actually fix CHECK_EQUAL 2024-12-09 06:57:35 -08:00
Joel Truher 947f5b172d fix CHECK_EQUAL 2024-12-07 20:21:46 -08:00
Fan Jiang d20993f740 fix C++ version issue of CppUnitLite 2024-08-25 13:24:25 -04:00
Varun Agrawal e5bf78e688 remove extra semicolons 2023-03-10 15:36:46 -05:00
Frank Dellaert a8eb98acea Fixed warnings that arise from stricter compiler flags 2023-02-11 12:32:50 -08:00
Varun Agrawal 775d2e877e update CppUnitLite to not rely on boost 2023-02-06 10:48:10 -05:00
Frank Dellaert 08e63aee12 Replace boost lexical casts in CppUnitLite 2023-02-05 23:09:52 -08:00
Jose Luis Blanco Claraco 0198c648e3
Fix all new gcc warnings/errors: make explicit virtual/override methods.
Rules are:
- use "virtual" in base classes only.
- use "override" in all derived classes.
2020-07-26 11:20:42 +02:00
Bernd Pfrommer 71f4bb3019 Use GNUInstallDirs to make install destination directories configurable 2020-05-31 21:52:00 -04:00
Jose Luis Blanco-Claraco b10963802c
Revert "Fix cmake handling newer boost versions (Closes: #442)"
This reverts commit a0fce4257f.
2019-10-07 11:21:22 +02:00
Duy-Nguyen Ta b2e5dadcdb Merge branch 'develop' of https://bitbucket.org/gtborg/gtsam into fix/trailing_whitespaces
# Conflicts:
#	gtsam/symbolic/tests/testVariableIndex.cpp
#	gtsam_unstable/gtsam_unstable.h
#	gtsam_unstable/linear/RawQP.cpp
#	gtsam_unstable/linear/RawQP.h
2019-05-12 09:26:28 -04:00
jlblancoc a0fce4257f Fix cmake handling newer boost versions (Closes: #442) 2019-04-08 10:22:59 +02:00
jlblancoc 7625c21777
Various fixes to cmake exported targets
List of changes:
 * -I boost is no longer required
   (Since the use of Boost::xxx imported targets)
 * fix missing Boost deps in imported gtsam by
   searching for Boost inside GTSAMConfig.cmake
 * Including the dirs for Eigen/MKL/SuiteSparse/Metis
   into exported targets public interface.
 * Fix missing cmake changes in wrap/*
 * Split build flags into private/public, not to
   expose to users flags that may be invasive.
 * Removed now useless include_dirs in "extra cmake"
 * Update cmake/example_project
 * Make cppunitlite to find boost headers via Boost::boost
 * Update README / INSTALL to reflect the updated minimum CMake >= 3.0
2019-02-15 22:04:04 +01:00
Duy-Nguyen Ta 1cdc228d6a remove trailing spaces 2019-02-11 10:58:34 -05:00
Ivan Jimenez 482144821b [Fix] Rot3.ypr -> Rot3.Ypr
[REFACTOR] Fixed including with "" instead of <>
2016-02-18 21:51:43 -05:00
Duy-Nguyen Ta 09ffc73b6e convenient macro declaring friend for unittest classes to test private methods 2015-05-15 08:44:15 -04:00
thduynguyen 0dcb3e209d add macro TEST_DISABLED for disabling tests without commenting them out 2014-09-13 01:29:25 -04:00
Alex Cunningham c9c2025d52 Swiched from isnan() check to isfinite() check for DOUBLES_EQUAL - also handles infinite case 2013-08-02 19:04:52 +00:00
Alex Cunningham 3545b114ab Altered [CHECK|EXPECT]_DOUBLES_EQUAL such that nan values automatically cause the test to fail. The previous approach would always return pass if one of the compared values is nan, resulting in tests passing when they shouldn't. If you have a test where you want to check that the value is nan, use EXPECT(isnan(x));, where x is the value you want to test. 2013-08-02 15:21:36 +00:00
Richard Roberts 5d86be270e Swapped group name and test name in CppUnitLite to match the convention we use in unit tests 2013-06-20 16:05:27 +00:00
Richard Roberts b3282577fb Revert "Swapped group name and test name in CppUnitLite to match the convention we use in unit tests"
This reverts commit c186908e755d034cc821376fd78c7118c9ccf48a.
2013-06-04 14:07:44 +00:00
Richard Roberts ac50d39a97 Swapped group name and test name in CppUnitLite to match the convention we use in unit tests 2013-06-04 13:37:13 +00:00
Richard Roberts 96b20487a9 Reverting - Don't trap exceptions in unit tests when in debug mode (reverse-merged from commit 51a7c8e209bafd889982f21e0e40a034afdb36d6) 2012-12-06 20:08:52 +00:00
Richard Roberts 9732094f41 Don't trap exceptions in unit tests when in debug mode 2012-12-03 19:04:31 +00:00
Chris Beall 4297d24c96 changed tabs to spaces for consistent indentation in all of GTSAM 2012-10-02 14:40:07 +00:00
Alex Cunningham 8fa77de2a0 Removed cpp file for Failure, small cleanups 2012-07-18 15:43:55 +00:00
Alex Cunningham 6266a2c56d Removed SimpleString from CppUnitLite - now just uses std::string and boost::lexical_cast 2012-07-18 15:43:54 +00:00
Richard Roberts 28eedb1940 Bug fix in SimpleString (CppUnitLite) - typo caused allocating too-small buffer 2012-07-17 22:10:36 +00:00
Richard Roberts f8b559772f Fixed unused variable warning in CppUnitLite 2012-06-30 19:18:27 +00:00
Richard Roberts d5fbfcb7b7 Create and load CMake exports and config files 2012-06-19 22:06:40 +00:00
Richard Roberts 22c8c483a9 Added headers files to show up in MSVC 2012-06-11 14:52:05 +00:00
Richard Roberts 695f2756db Build scripts 2012-06-04 13:44:02 +00:00
Alex Cunningham 32871bfceb Fixed delete vs. delete[] in SimpleString - possible source of subtle errors 2012-05-24 02:55:41 +00:00
Richard Roberts 2f0b3cbe02 Format with g instead of f with printing doubles in CppUnitLite 2012-04-09 03:02:30 +00:00
Alex Cunningham cdbeebaf1d Small changes trying to remove dependency between install and all targets 2012-03-29 20:32:05 +00:00
Alex Cunningham 6f09998e10 Removed autotools from gtsam2 branch 2012-02-13 21:13:07 +00:00
Alex Cunningham c43a9b4852 Added a variety of options to the cmake build, working on automating wrap execution/install 2012-01-31 19:59:15 +00:00
Alex Cunningham 099ab88b5d Added more cmake functionality 2011-12-14 02:24:19 +00:00
Alex Cunningham 054a534f1c Added virtual constructor to TEST_UNSAFE to pacify warnings 2011-09-22 15:12:34 +00:00
Alex Cunningham 48ffb6aca9 CppUnitLite can be installed along with gtsam with configure flag --enable-install-cppunitlite 2011-09-20 18:46:19 +00:00
Frank Dellaert fd20d3b865 added virtual destructor to avoid warnings 2011-09-03 15:36:44 +00:00
Alex Cunningham 778001f63e assorted cleanup - mostly comments and adding implementations to cpp files, rather than in header files 2011-06-13 20:01:58 +00:00
Alex Cunningham fa4faa274a Merge branch 'prep_0.9.3' 2011-06-13 16:55:31 +00:00
Alex Cunningham 7066567b75 Changed test failure messages so that they will trigger line error flags in eclipse 2011-05-23 18:05:10 +00:00
Alex Cunningham d35eb581ee Removed experimental cmake files - see the branch cmake_build 2011-05-19 19:16:03 +00:00
Yong-Dian Jian 85ff7853eb experimental cmake support for linux 2011-05-09 16:53:08 +00:00
Richard Roberts 83f3e14261 Fixed some compile warnings 2010-11-19 20:36:13 +00:00
Richard Roberts c157b6faa0 Fixed a few problems in Makefile.am's so that 'make dist' works to build a distribution tarball 2010-10-25 22:12:27 +00:00
Richard Roberts 2c90e3d836 Moved the subdirectories that compile into libgtsam.la into a 'gtsam' subdirectory. Hopefully a good fix for the problem we had trying to make a gtsam distribution, that the source directory may not be called 'gtsam'. 2010-10-25 20:10:33 +00:00
Kai Ni 24d499039f prepend license information on all the codes 2010-10-14 04:54:38 +00:00