Browse Source

Replace IGL_DEBUG_OFF with a [slow] tag for now.

Jérémie Dumas 6 years ago
parent
commit
d3052ef4c7

+ 1 - 1
tests/include/igl/bbw.cpp

@@ -5,7 +5,7 @@
 #include <igl/readTGF.h>
 #include <igl/bbw.h>
 
-TEST_CASE("bbw: decimated_knight", "[igl]" IGL_DEBUG_OFF)
+TEST_CASE("bbw: decimated_knight", "[igl]" "[slow]")
 {
   Eigen::MatrixXd V,C;
   Eigen::MatrixXi T,F,E;

+ 1 - 1
tests/include/igl/boundary_loop.cpp

@@ -19,7 +19,7 @@ TEST_CASE("boundary_loop: cube", "[igl]")
   REQUIRE (boundary.size() == 0);
 }
 
-TEST_CASE("boundary_loop: bunny", "[igl]" IGL_DEBUG_OFF)
+TEST_CASE("boundary_loop: bunny", "[igl]" "[slow]")
 {
   Eigen::MatrixXd V;
   Eigen::MatrixXi F;

+ 1 - 1
tests/include/igl/cotmatrix.cpp

@@ -2,7 +2,7 @@
 #include <igl/PI.h>
 #include <igl/cotmatrix.h>
 
-TEST_CASE("cotmatrix: constant_in_null_space", "[igl]" IGL_DEBUG_OFF)
+TEST_CASE("cotmatrix: constant_in_null_space", "[igl]" "[slow]")
 {
   const auto test_case = [](const std::string &param)
   {

+ 1 - 1
tests/include/igl/cotmatrix_intrinsic.cpp

@@ -61,7 +61,7 @@ TEST_CASE("cotmatrix_intrinsic: periodic", "[igl]")
   test_common::assert_near(L_d,L_gt,igl::EPS<double>());
 }
 
-TEST_CASE("cotmatrix_intrinsic: manifold_meshes", "[igl]" IGL_DEBUG_OFF)
+TEST_CASE("cotmatrix_intrinsic: manifold_meshes", "[igl]" "[slow]")
 {
   auto test_case = [](const std::string &param)
   {

+ 1 - 1
tests/include/igl/doublearea.cpp

@@ -1,7 +1,7 @@
 #include <test_common.h>
 #include <igl/doublearea.h>
 
-TEST_CASE("doublearea: VF_vs_ABC", "[igl]" IGL_DEBUG_OFF)
+TEST_CASE("doublearea: VF_vs_ABC", "[igl]" "[slow]")
 {
     auto test_case = [](const std::string &param)
     {

+ 1 - 1
tests/include/igl/edge_flaps.cpp

@@ -1,7 +1,7 @@
 #include <test_common.h>
 #include <igl/edge_flaps.h>
 
-TEST_CASE("edge_flaps: verify", "[igl]" IGL_DEBUG_OFF)
+TEST_CASE("edge_flaps: verify", "[igl]" "[slow]")
 {
   const auto test_case = [](const std::string &param)
   {

+ 1 - 1
tests/include/igl/fast_winding_number.cpp

@@ -52,7 +52,7 @@ TEST_CASE("fast_winding_number: one_point_cloud", "[igl]")
   test_common::assert_near(WiP,WiP_cached,1e-15);
 }
 
-TEST_CASE("fast_winding_number: meshes", "[igl]" IGL_DEBUG_OFF)
+TEST_CASE("fast_winding_number: meshes", "[igl]" "[slow]")
 {
   const auto test_case = [](const std::string &param)
   {

+ 1 - 1
tests/include/igl/intrinsic_delaunay_cotmatrix.cpp

@@ -37,7 +37,7 @@ TEST_CASE("intrinsic_delaunay_cotmatrix: skewed_grid", "[igl]")
   }
 }
 
-TEST_CASE("intrinsic_delaunay_cotmatrix: manifold_meshes", "[igl]" IGL_DEBUG_OFF)
+TEST_CASE("intrinsic_delaunay_cotmatrix: manifold_meshes", "[igl]" "[slow]")
 {
   auto test_case = [](const std::string &param)
   {

+ 1 - 1
tests/include/igl/is_edge_manifold.cpp

@@ -1,7 +1,7 @@
 #include <test_common.h>
 #include <igl/is_edge_manifold.h>
 
-TEST_CASE("is_edge_manifold: positive", "[igl]" IGL_DEBUG_OFF)
+TEST_CASE("is_edge_manifold: positive", "[igl]" "[slow]")
 {
   const auto test_case = [](const std::string &param)
   {

+ 1 - 1
tests/include/igl/iterative_closest_point.cpp

@@ -9,7 +9,7 @@
 #include <igl/iterative_closest_point.h>
 
 
-TEST_CASE("iterative_closest_point: identity","[igl]" IGL_DEBUG_OFF)
+TEST_CASE("iterative_closest_point: identity","[igl]" "[slow]")
 {
   const auto test_case = [](const std::string &param)
   {

+ 1 - 1
tests/include/igl/per_face_normals.cpp

@@ -3,7 +3,7 @@
 #include <igl/per_face_normals.h>
 #include <Eigen/Geometry>
 
-TEST_CASE("per_face_normals: dot", "[igl]" IGL_DEBUG_OFF)
+TEST_CASE("per_face_normals: dot", "[igl]" "[slow]")
 {
   const auto test_case = [](const std::string &param)
   {

+ 1 - 1
tests/include/igl/qslim.cpp

@@ -6,7 +6,7 @@
 //#include <igl/hausdorff.h>
 #include <igl/writePLY.h>
 
-TEST_CASE("qslim: cylinder", "[igl]" IGL_DEBUG_OFF)
+TEST_CASE("qslim: cylinder", "[igl]" "[slow]")
 {
   using namespace igl;
   const int axis_devisions = 5;

+ 1 - 1
tests/include/igl/triangle_triangle_adjacency.cpp

@@ -3,7 +3,7 @@
 #include <igl/triangle_triangle_adjacency.h>
 #include <Eigen/Geometry>
 
-TEST_CASE("triangle_triangle_adjacency: dot", "[igl]" IGL_DEBUG_OFF)
+TEST_CASE("triangle_triangle_adjacency: dot", "[igl]" "[slow]")
 {
   const auto test_case = [](const std::string &param)
   {

+ 1 - 1
tests/include/igl/upsample.cpp

@@ -27,7 +27,7 @@ TEST_CASE("upsample: single_triangle", "[igl]")
   test_common::assert_eq(NV_groundtruth,NV);
 }
 
-TEST_CASE("upsample: V_comes_first_F_ordering", "[igl]" IGL_DEBUG_OFF)
+TEST_CASE("upsample: V_comes_first_F_ordering", "[igl]" "[slow]")
 {
   const auto test_case = [](const std::string &param)
   {

+ 0 - 6
tests/test_common.h

@@ -17,12 +17,6 @@
 #include <algorithm>
 #include <tuple>
 
-#ifdef NDEBUG
-#define IGL_DEBUG_OFF ""
-#else
-#define IGL_DEBUG_OFF "[!hide]"
-#endif
-
 namespace test_common
 {
   template<typename Param, typename Fun>