]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Undo previous change, as it modifies the output of the
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 26 Jun 2001 13:45:52 +0000 (13:45 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 26 Jun 2001 13:45:52 +0000 (13:45 +0000)
test. Nevertheless, things can't remain as they are now as cerr is not
assignable. There may be a way to redirect is, however, by binding it
to stdout...

git-svn-id: https://svn.dealii.org/trunk@4758 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/reference.cc

index 368106d913e686f9bbedfe6f8a4faf7dd9a7fe76..1b54a605a58bccd6c479aea590cbb0cd1e1e865d 100644 (file)
@@ -47,7 +47,7 @@ int main()
   std::ofstream logfile("reference.output");
   deallog.attach(logfile);
   deallog.depth_console(0);
-
+  std::cerr = logfile;
   Test a("A");
   const Test b("B");
   SmartPointer<Test>       r=&a;

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.