We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cb6caaf + 37ac67f commit 5a56603Copy full SHA for 5a56603
1 file changed
tests/mesh/connected_components.C
@@ -5,6 +5,7 @@
5
#include <libmesh/mesh.h>
6
#include <libmesh/node.h>
7
#include <libmesh/sparse_matrix.h>
8
+#include <libmesh/system.h>
9
10
#include <timpi/parallel_implementation.h>
11
@@ -24,9 +25,16 @@ class ConnectedComponentsTest : public CppUnit::TestCase
24
25
public:
26
LIBMESH_CPPUNIT_TEST_SUITE( ConnectedComponentsTest );
27
28
+ /**
29
+ * These tests require a valid solver package to be enabled because
30
+ * they build a SparseMatrix.
31
+ * Note: LIBMESH_HAVE_SOLVER is actually defined in libmesh/system.h
32
+ */
33
+#ifdef LIBMESH_HAVE_SOLVER
34
CPPUNIT_TEST( testEdge2 );
35
CPPUNIT_TEST( testEdge3 );
36
CPPUNIT_TEST( testEdge4 );
37
+#endif
38
39
CPPUNIT_TEST_SUITE_END();
40
0 commit comments