Commit 912494d1 authored by incardon's avatar incardon

Fixing space distribution to avoid OSX case

parent 35332459
...@@ -398,16 +398,8 @@ BOOST_AUTO_TEST_CASE( Space_distribution_test) ...@@ -398,16 +398,8 @@ BOOST_AUTO_TEST_CASE( Space_distribution_test)
// write the first decomposition // write the first decomposition
space_dist.write("vtk_dist_space_distribution_0"); space_dist.write("vtk_dist_space_distribution_0");
#ifdef HAVE_OSX
bool test = compare(std::to_string(v_cl.getProcessUnitID()) + "_vtk_dist_parmetis_distribution_0.vtk","src/Decomposition/Distribution/test_data/vtk_dist_parmetis_distribution_0_osx_test.vtk");
BOOST_REQUIRE_EQUAL(true,test);
#else
bool test = compare(std::to_string(v_cl.getProcessUnitID()) + "_vtk_dist_space_distribution_0.vtk","src/Decomposition/Distribution/test_data/" + std::to_string(v_cl.getProcessUnitID()) + + "_vtk_dist_space_distribution_0_test.vtk"); bool test = compare(std::to_string(v_cl.getProcessUnitID()) + "_vtk_dist_space_distribution_0.vtk","src/Decomposition/Distribution/test_data/" + std::to_string(v_cl.getProcessUnitID()) + + "_vtk_dist_space_distribution_0_test.vtk");
BOOST_REQUIRE_EQUAL(true,test); BOOST_REQUIRE_EQUAL(true,test);
#endif
} }
//! [refine with dist_parmetis the decomposition] //! [refine with dist_parmetis the decomposition]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment