]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix tests (throw in assert change)
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 15 Feb 2013 22:11:33 +0000 (22:11 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 15 Feb 2013 22:11:33 +0000 (22:11 +0000)
git-svn-id: https://svn.dealii.org/trunk@28411 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/reference.cc
tests/base/reference/cmp/generic
tests/base/slice_vector.cc

index 1ffe3f738b6f263fd0322fc4831c7d3e8ce57af2..b77606cdfe97232910df6a98611001fd44158dcb 100644 (file)
@@ -49,8 +49,8 @@ int main()
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
-  
-  if (true)
+
+  try
     {
       Test a("A");
       const Test& b("B");
@@ -85,5 +85,9 @@ int main()
                                       // cause a spurious ExcNotUsed
                                       // here, since D was deleted first
     }
+  catch (...)
+    {
+    }
+  
 }
 
index 16fee186b53608c66d8358145c494abeb5d490d8..1970a44da57679dc9ab067cc86e8f83faea411c9 100644 (file)
@@ -12,6 +12,5 @@ DEAL::Construct D
 DEAL::Destruct D
 DEAL::ExcInUse (counter, object_info->name(), infostring)
 DEAL::Destruct C
-DEAL::ExcNoSubscriber(object_info->name(), name)
 DEAL::Destruct B
 DEAL::Destruct A
index fa3ab3be57250874b5524d6dfcbb009867a97ec4..02584a3b7cf47af1e599a87b4838eb061fc7ed3e 100644 (file)
@@ -55,5 +55,12 @@ int main()
 
   f(v);
 
-  make_slice(v, 3, 5);
+  try
+    {
+      make_slice(v, 3, 5);
+    }
+  catch(...)
+    {
+    }
+  
 }

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.