From 10d4d228d1b707997aea8e4efda57c21bba52e68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Wed, 7 Jan 2015 10:20:49 +0100 Subject: [PATCH] Use dummy test if anisotropic eikonal solver unavailable. --- tests/test_anisotropiceikonal.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/test_anisotropiceikonal.cpp b/tests/test_anisotropiceikonal.cpp index eb38c7897..3e3df53fc 100644 --- a/tests/test_anisotropiceikonal.cpp +++ b/tests/test_anisotropiceikonal.cpp @@ -34,6 +34,8 @@ using namespace Opm; +#if BOOST_HEAP_AVAILABLE + BOOST_AUTO_TEST_CASE(cartesian_2d_a) { const GridManager gm(2, 2); @@ -84,3 +86,12 @@ BOOST_AUTO_TEST_CASE(cartesian_2d_b) BOOST_CHECK_CLOSE(sol[cell], expected[cell], 1e-5); } } + +#else // BOOST_HEAP_AVAILABLE is false + +BOOST_AUTO_TEST_CASE(dummy) +{ + BOOST_CHECK(true); +} + +#endif // BOOST_HEAP_AVAILABLE