aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2015-10-01 13:22:14 +0200
committerGravatar Steven Schubiger <stsc@refcnt.org> 2015-10-01 13:22:14 +0200
commitf72501505fef26e5ac48fbaa4611f71891f49b38 (patch)
tree957462851103bb8674d8c0d69ec1307e36d05007
parent7f313b1c22e61541aea2bcbe666639e05e69c9ad (diff)
downloadcolorize-f72501505fef26e5ac48fbaa4611f71891f49b38.tar.gz
colorize-f72501505fef26e5ac48fbaa4611f71891f49b38.tar.bz2
Catch test file exceptions
-rwxr-xr-xtest.pl2
1 files changed, 1 insertions, 1 deletions
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;