From a123e7da22e9dbf8d98d15287526d070ab15bf15 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Thu, 4 Oct 2018 13:39:31 +0100 Subject: Add perl 5.26/5.28 support. Upgrade a couple of modules, deal with '.' not present in @INC, captures returning undef rather than '', and a test. --- bin/run-tests | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bin/run-tests') diff --git a/bin/run-tests b/bin/run-tests index c384516c8..de495dd05 100755 --- a/bin/run-tests +++ b/bin/run-tests @@ -1,13 +1,17 @@ #!/usr/bin/env perl use strict; use warnings; +my $d; BEGIN { use File::Basename qw(dirname); use File::Spec; - my $d = dirname(File::Spec->rel2abs($0)); + $d = dirname(File::Spec->rel2abs($0)); require "$d/../setenv.pl"; } +# So the t::Mock:: modules can be found +$ENV{PERL5LIB} = "$d/..:$ENV{PERL5LIB}"; + use FixMyStreet::TestAppProve; =head1 NAME -- cgit v1.2.3