From f126fe5aa4721d5b3816b8fee1067da40631da5a Mon Sep 17 00:00:00 2001 From: bangerth Date: Sun, 3 Jul 2011 03:12:53 +0000 Subject: [PATCH] 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 --- tests/base/slice_vector.cc | 5 ----- tests/base/slice_vector/cmp/generic | 1 - 2 files changed, 6 deletions(-) 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) -- 2.39.5