Commit c2cb20a7 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Merge branch 'issue/environment_in_tests' into 'master'

change AMDiS::init to Environment in BackupRestoreTest

See merge request !59
parents a2ad270c 5d2ddcab
......@@ -92,7 +92,7 @@ void test_simplex()
int main(int argc, char** argv)
{
AMDiS::init(argc, argv);
Environment env(argc, argv);
std::string filename = "test";
Parameters::set("test->backup->grid", filename + "_" + std::to_string(GRID_ID) + ".grid");
......@@ -134,6 +134,5 @@ int main(int argc, char** argv)
// test_simplex<Dune::AlbertaGrid<2,2>>(); // Segmentation fault
// test_simplex<Dune::FoamGrid<2,2>>(); // Segmentation fault
AMDiS::finalize();
return report_errors();
}
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