summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-09-01 15:04:46 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-09-01 15:04:46 +0000
commit89d8caff43f3c38ee3ce3fd96000eaa549ba0481 (patch)
tree0e5472d8f8ec14b52ecb4cf56a614889c9d50337
parent0d55fc06c82882327a8af82b20fc001b7cd71a66 (diff)
UT fix to compile and run under osX
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alphashapes@768 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: a8351f5bd12a2d5e4869a61c298ddf76ad04f91d
-rw-r--r--src/Alpha_complex/test/Alpha_complex_unit_test.cpp8
-rw-r--r--src/common/test/dtoffrw_unit_test.cpp8
2 files changed, 7 insertions, 9 deletions
diff --git a/src/Alpha_complex/test/Alpha_complex_unit_test.cpp b/src/Alpha_complex/test/Alpha_complex_unit_test.cpp
index b2597eff..7a0800e4 100644
--- a/src/Alpha_complex/test/Alpha_complex_unit_test.cpp
+++ b/src/Alpha_complex/test/Alpha_complex_unit_test.cpp
@@ -20,10 +20,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#define BOOST_TEST_MODULE alpha_complex
-#include <boost/test/included/unit_test.hpp>
-#include <boost/system/error_code.hpp>
-#include <boost/chrono/thread_clock.hpp>
+#define BOOST_TEST_DYN_LINK
+#define BOOST_TEST_MODULE "alpha_complex"
+#include <boost/test/unit_test.hpp>
+
#include <CGAL/Delaunay_triangulation.h>
#include <CGAL/Epick_d.h>
diff --git a/src/common/test/dtoffrw_unit_test.cpp b/src/common/test/dtoffrw_unit_test.cpp
index d2705955..ada218ac 100644
--- a/src/common/test/dtoffrw_unit_test.cpp
+++ b/src/common/test/dtoffrw_unit_test.cpp
@@ -20,8 +20,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#define BOOST_TEST_MODULE DelaunayTriangulationOffFileReadWrite test
-
// to construct a Delaunay_triangulation from a OFF file
#include "gudhi/Delaunay_triangulation_off_io.h"
@@ -32,9 +30,9 @@
#include <stdlib.h>
#include <string>
-#include <boost/test/included/unit_test.hpp>
-#include <boost/system/error_code.hpp>
-//#include <boost/chrono/thread_clock.hpp>
+#define BOOST_TEST_DYN_LINK
+#define BOOST_TEST_MODULE "delaunay_triangulation_off_read_write"
+#include <boost/test/unit_test.hpp>
// Use dynamic_dimension_tag for the user to be able to set dimension
typedef CGAL::Epick_d< CGAL::Dynamic_dimension_tag > K;