From e7db330c05a447dd69d410bfee6ffd4e38e7d525 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 22 Oct 2013 09:50:17 +0000 Subject: [PATCH] Port tests to new exception behaviour git-svn-id: https://svn.dealii.org/trunk@31381 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/base/reference.debug.output | 3 ++- tests/lac/vector_memory.cc | 1 + tests/lac/{vector_memory.output => vector_memory.debug.output} | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) rename tests/lac/{vector_memory.output => vector_memory.debug.output} (72%) diff --git a/tests/base/reference.debug.output b/tests/base/reference.debug.output index c109e39248..580502fa26 100644 --- a/tests/base/reference.debug.output +++ b/tests/base/reference.debug.output @@ -10,7 +10,8 @@ DEAL::u const DEAL::Construct C DEAL::Construct D DEAL::Destruct D +DEAL::Exception: ExcInUse (counter, object_info->name(), infostring) DEAL::Destruct C DEAL::Destruct B DEAL::Destruct A -DEAL::ExcInUse (counter, object_info->name(), infostring) +DEAL::ExcNoSubscriber(object_info->name(), name) diff --git a/tests/lac/vector_memory.cc b/tests/lac/vector_memory.cc index 7a20f0aaee..9a6893ea59 100644 --- a/tests/lac/vector_memory.cc +++ b/tests/lac/vector_memory.cc @@ -76,6 +76,7 @@ main() deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); + deal_II_exceptions::disable_abort_on_exception(); test_stat >(); diff --git a/tests/lac/vector_memory.output b/tests/lac/vector_memory.debug.output similarity index 72% rename from tests/lac/vector_memory.output rename to tests/lac/vector_memory.debug.output index 41a042c920..c3f1dd6d0b 100644 --- a/tests/lac/vector_memory.output +++ b/tests/lac/vector_memory.debug.output @@ -2,3 +2,4 @@ DEAL::GrowingVectorMemory:Overall allocated vectors: 10 DEAL::GrowingVectorMemory:Maximum allocated vectors: 6 DEAL::Exception: StandardExceptions::ExcMemoryLeak(current_alloc) +DEAL::Exception: StandardExceptions::ExcMemoryLeak(current_alloc) -- 2.39.5