From: bangerth Date: Sun, 3 Jul 2011 03:12:53 +0000 (+0000) Subject: Remove the test that we produce an exception for invalid accesses. This can't be... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f126fe5aa4721d5b3816b8fee1067da40631da5a;p=dealii-svn.git Remove the test that we produce an exception for invalid accesses. This can't be tested in any reasonable way since in the testsuite we continue running tests even after exceptions, which then triggers an out-of-bounds access and a failure of the test in the debug version of libstdc++. git-svn-id: https://svn.dealii.org/trunk@23915 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/base/slice_vector.cc b/tests/base/slice_vector.cc index ab9220f23e..fa3ab3be57 100644 --- a/tests/base/slice_vector.cc +++ b/tests/base/slice_vector.cc @@ -56,9 +56,4 @@ int main() f(v); make_slice(v, 3, 5); - - // access an element beyond the end - // to verify that we generate an - // exception for that - (void) s[4]; } diff --git a/tests/base/slice_vector/cmp/generic b/tests/base/slice_vector/cmp/generic index afe2b10579..82fd3f52c0 100644 --- a/tests/base/slice_vector/cmp/generic +++ b/tests/base/slice_vector/cmp/generic @@ -2,4 +2,3 @@ DEAL:: 0 1 2 0 1 2 3 DEAL:: 2 0 1 DEAL::ExcIndexRange(length, 0, v.size()-start+1) -DEAL::ExcIndexRange(i, 0, length)