[commit] master: autotest: be more verbose about internal errors & warnings
mailbox synchronizer
Brought to you by:
ossi
|
From: Oswald B. <os...@us...> - 2022-06-19 14:36:42
|
commit 27f0c470109047e956ae50e783334081955e6e4b
Author: Oswald Buddenhagen <os...@us...>
Date: Tue Jan 25 21:45:06 2022 +0100
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 2b695e2d..f54f1dc4 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';
|