From: guido Date: Thu, 12 Feb 2004 10:40:50 +0000 (+0000) Subject: log abort to deallog X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58ffe1fdedb0fd1023171e087e7c7d57a2a62348;p=dealii-svn.git log abort to deallog git-svn-id: https://svn.dealii.org/trunk@8462 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/Makefile b/tests/Makefile index e78ebdef4b..4823abd39a 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -111,7 +111,7 @@ distclean-bits: cd bits ; $(MAKE) distclean abort.o: abort.cc - @$(CXX) -ggdb -o $@ -c $< + @$(CXX) $(CXXFLAGS.g) -o $@ -c $< .PHONY : all base lac fe deal.II bits \ clean clean-base clean-lac clean-fe clean-deal.II clean-bits \ diff --git a/tests/abort.cc b/tests/abort.cc index 38d07196b4..abc9cf6d63 100644 --- a/tests/abort.cc +++ b/tests/abort.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 by the deal.II authors +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -20,6 +20,8 @@ // actually generates an assertion, which would otherwise be // impossible +#include + namespace deal_II_exceptions { namespace internals @@ -31,5 +33,6 @@ namespace deal_II_exceptions extern "C" void abort() { + deallog << "Abort!!!" << std::endl; deal_II_exceptions::internals::n_treated_exceptions = 0; }