From f72501505fef26e5ac48fbaa4611f71891f49b38 Mon Sep 17 00:00:00 2001 From: Steven Schubiger Date: Thu, 1 Oct 2015 13:22:14 +0200 Subject: Catch test file exceptions --- test.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.pl b/test.pl index 30c1fd1..776b8a2 100755 --- a/test.pl +++ b/test.pl @@ -33,7 +33,7 @@ my $write_to_tmpfile = sub { my @test_files = glob('t/*.t'); - runtests(@test_files); + eval { runtests(@test_files) } or warn $@; } plan tests => $tests; -- cgit v1.2.3