From 27f0c470109047e956ae50e783334081955e6e4b Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 25 Jan 2022 21:45:06 +0100 Subject: [PATCH] autotest: be more verbose about internal errors & warnings --- src/run-tests.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/run-tests.pl b/src/run-tests.pl index 2b695e2..f54f1dc 100755 --- a/src/run-tests.pl +++ b/src/run-tests.pl @@ -6,6 +6,11 @@ use warnings; use strict; + +use Carp; +$SIG{__WARN__} = \&Carp::cluck; +$SIG{__DIE__} = \&Carp::confess; + use Cwd; use File::Path; use File::Temp 'tempdir';