From: Moritz Bunkus Date: Tue, 2 Jul 2013 09:43:37 +0000 (+0200) Subject: Tests: Unterstützung für Konfigurationsparameter "debug.backtrace_on_die" X-Git-Tag: release-3.1.0beta1~232 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ff049c83e9cadde7be6b616390ec256cda6c40f6;p=kivitendo-erp.git Tests: Unterstützung für Konfigurationsparameter "debug.backtrace_on_die" --- diff --git a/t/Support/TestSetup.pm b/t/Support/TestSetup.pm index 081e7b106..bd067d232 100644 --- a/t/Support/TestSetup.pm +++ b/t/Support/TestSetup.pm @@ -46,6 +46,8 @@ sub _login { $::instance_conf->init; + $SIG{__DIE__} = sub { Carp::confess( @_ ) } if $::lx_office_conf{debug}->{backtrace_on_die}; + return 1; }