]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Switch off stacktraces in the testsuite.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 5 Jul 2005 19:04:03 +0000 (19:04 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 5 Jul 2005 19:04:03 +0000 (19:04 +0000)
git-svn-id: https://svn.dealii.org/trunk@11066 0785d39b-7218-0410-832d-ea1e28bc413d

tests/tests.h

index 22958d70c14fdc730126468a166faa854f6f1249..c7363050bcc3045180274d12ddd0a271cad989ef 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <base/config.h>
 #include <base/logstream.h>
+#include <base/exceptions.h>
 #include <cmath>
 
 // overload floating point output operators for LogStream so that small
@@ -44,4 +45,13 @@ LogStream & operator << (LogStream &logstream,
 }
 
 
+struct SwitchOffStacktrace
+{
+    SwitchOffStacktrace ()
+      {
+       deal_II_exceptions::suppress_stacktrace_in_exceptions ();
+      }
+} deal_II_stacktrace_dummy;
+
+
 #endif // __tests_tests_h

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.