Commit 751de102 authored by jenkins's avatar jenkins

Fixing test on GCC4

parent b39e8b25
......@@ -97,11 +97,15 @@ BOOST_AUTO_TEST_CASE( laplacian_3D_int_zero_mg )
#ifdef HAVE_OSX
bool check = compare("AMG_psi_" + std::to_string(v_cl.getProcessUnitID()) + ".vtk","test/AMG_psi_" + std::to_string(v_cl.getProcessUnitID()) + "_test_osx.vtk");
#else
bool check = compare("AMG_psi_" + std::to_string(v_cl.getProcessUnitID()) + ".vtk","test/AMG_psi_test_" + std::to_string(v_cl.getProcessUnitID()) + ".vtk");
#if __GNUC__ == 4
bool check = compare("AMG_psi_" + std::to_string(v_cl.getProcessUnitID()) + ".vtk","test/AMG_psi_" + std::to_string(v_cl.getProcessUnitID()) + "_test_GCC4.vtk");
#endif
#endif
BOOST_REQUIRE_EQUAL(check,true);
// Resolve
timer tm_solve2;
tm_solve2.start();
......@@ -114,7 +118,9 @@ BOOST_AUTO_TEST_CASE( laplacian_3D_int_zero_mg )
#ifdef HAVE_OSX
check = compare("AMG_psi2_" + std::to_string(v_cl.getProcessUnitID()) + ".vtk","test/AMG_psi2_" + std::to_string(v_cl.getProcessUnitID()) + "_test_osx.vtk");
#else
check = compare("AMG_psi2_" + std::to_string(v_cl.getProcessUnitID()) + ".vtk","test/AMG_psi2_" + std::to_string(v_cl.getProcessUnitID()) + "_test_osx.vtk");
#if __GNUC__ == 4
check = compare("AMG_psi2_" + std::to_string(v_cl.getProcessUnitID()) + ".vtk","test/AMG_psi2_" + std::to_string(v_cl.getProcessUnitID()) + "_test_GCC4.vtk");
#endif
#endif
BOOST_REQUIRE_EQUAL(check,true);
}
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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