Guard the SuiteSparse NESDIS tests by CHOLMOD partitioning The SuiteSparse nested dissection tests depend on Eigen METIS instead of CHOLMOD partitioning and fail if only the former is available. Guard them by CHOLMOD partitioning. Change-Id: I68a51a281a294a83dbf6df1437f28698be17fb93
diff --git a/internal/ceres/schur_complement_solver_test.cc b/internal/ceres/schur_complement_solver_test.cc index db15185..18b79f3 100644 --- a/internal/ceres/schur_complement_solver_test.cc +++ b/internal/ceres/schur_complement_solver_test.cc
@@ -240,7 +240,7 @@ 3, true, SPARSE_SCHUR, EIGEN, SUITE_SPARSE, OrderingType::AMD); } -#ifndef CERES_NO_EIGEN_METIS +#ifndef CERES_NO_CHOLMOD_PARTITION TEST_F(SchurComplementSolverTest, SparseSchurWithSuiteSparseSmallProblemNESDIS) { ComputeAndCompareSolutions( @@ -255,7 +255,7 @@ ComputeAndCompareSolutions( 3, true, SPARSE_SCHUR, EIGEN, SUITE_SPARSE, OrderingType::NESDIS); } -#endif // CERES_NO_EIGEN_METIS +#endif // CERES_NO_CHOLMOD_PARTITION #endif // CERES_NO_SUITESPARSE #ifndef CERES_NO_ACCELERATE_SPARSE