]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Port tests to new exception behaviour
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 22 Oct 2013 09:50:17 +0000 (09:50 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 22 Oct 2013 09:50:17 +0000 (09:50 +0000)
git-svn-id: https://svn.dealii.org/trunk@31381 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/reference.debug.output
tests/lac/vector_memory.cc
tests/lac/vector_memory.debug.output [moved from tests/lac/vector_memory.output with 72% similarity]

index c109e3924889cb48787a64b8e19d6f9f10e3d5ef..580502fa26900b83aa42d52b29970dd779a9b299 100644 (file)
@@ -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)
index 7a20f0aaeee5079eb81b1cb769cb0516e0d64afe..9a6893ea59a8bfc1c2d235764279b57038fa591a 100644 (file)
@@ -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<Vector<double> >();
 
similarity index 72%
rename from tests/lac/vector_memory.output
rename to tests/lac/vector_memory.debug.output
index 41a042c920c9dbfec9c3fd4438707b49f1eae262..c3f1dd6d0b5eba7d83f1ab5ff329937f61728ef4 100644 (file)
@@ -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)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.