Skip to content

Commit 38787d8

Browse files
committed
add amr flag for a unit test
1 parent 92aeb99 commit 38787d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/systems/disconnected_neighbor_test.C

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,12 @@ public:
187187
#if defined(LIBMESH_HAVE_SOLVER)
188188
CPPUNIT_TEST( testTempJump );
189189
CPPUNIT_TEST( testTempJumpRefine );
190+
#ifdef LIBMESH_ENABLE_AMR
190191
// This test intentionally triggers find_neighbors() consistency check
191192
// failure after AMR refinement across disconnected interfaces.
192193
// Expected: libmesh_assert_valid_neighbors() fails.
193194
CPPUNIT_TEST_EXCEPTION(testTempJumpLocalRefineFail, std::exception);
195+
#endif
194196
#endif
195197
CPPUNIT_TEST_SUITE_END();
196198

0 commit comments

Comments
 (0)