test failure: test-geometrytype
The test test-geometrytype fails for me with
dim: 0 vertices: 1 guess: 0 real: 0
dim: 1 vertices: 2 guess: 0 real: 0
dim: 2 vertices: 3 ( possibility 0: 1) guess: 1 real: 0
dim: 2 vertices: 4 ( possibility 0: 11) guess: 11 real: 11
dim: 3 vertices: 4 ( possibility 0: 1) guess: 1 real: 0
dim: 3 vertices: 5 ( possibility 0: 11) guess: 11 real: 11
dim: 3 vertices: 6 ( possibility 0: 101) guess: 101 real: 101
dim: 3 vertices: 7 Error: Dune::Exception [guessTopologyId:.../dune/geometry/test/test-geometrytype.cc:57]: Impossible setting
after I put the following change in place:
--- a/dune/geometry/test/test-geometrytype.cc
+++ b/dune/geometry/test/test-geometrytype.cc
@@ -89,6 +89,7 @@ int main()
catch (Dune::Exception & e)
{
std::cout << "Error: " << e.what() << std::endl;
+ return 1;
}
}
}
Without this change, the test would produce tons of such errors all of which would go unnoticed since the test would eventually exit with status 0
.