From: wolf Date: Tue, 5 Jul 2005 19:04:03 +0000 (+0000) Subject: Switch off stacktraces in the testsuite. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42de8843109feda6153b662153cc3de1443716d3;p=dealii-svn.git Switch off stacktraces in the testsuite. git-svn-id: https://svn.dealii.org/trunk@11066 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/tests.h b/tests/tests.h index 22958d70c1..c7363050bc 100644 --- a/tests/tests.h +++ b/tests/tests.h @@ -18,6 +18,7 @@ #include #include +#include #include // 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