]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add comments. Safeguard against multiple inclusion.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 5 Jul 2005 19:23:49 +0000 (19:23 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 5 Jul 2005 19:23:49 +0000 (19:23 +0000)
git-svn-id: https://svn.dealii.org/trunk@11070 0785d39b-7218-0410-832d-ea1e28bc413d

tests/tests.h

index c7363050bcc3045180274d12ddd0a271cad989ef..c7e4993f6abd57eaeb9135b1edf79c686c589c90 100644 (file)
@@ -45,6 +45,14 @@ LogStream & operator << (LogStream &logstream,
 }
 
 
+
+#ifndef DEAL_II_STACKTACE_SWITCH
+#define DEAL_II_STACKTACE_SWITCH
+
+// A structure and a variable that are used to make sure that we do
+// not show a stacktrace in out testcases, since this would lead to
+// trouble with automatic comparison of output against a fixed
+// baseline
 struct SwitchOffStacktrace
 {
     SwitchOffStacktrace ()
@@ -53,5 +61,6 @@ struct SwitchOffStacktrace
       }
 } deal_II_stacktrace_dummy;
 
+#endif
 
 #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.