[perl-ExtUtils-PkgConfig] perl-5.26.0 compatibility
- From: Torsten Schönfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-ExtUtils-PkgConfig] perl-5.26.0 compatibility
- Date: Mon, 3 Apr 2017 13:46:47 +0000 (UTC)
commit e31a43b524c32596172f15a636b9468e55268f18
Author: James E Keenan <jkeenan cpan org>
Date: Fri Mar 31 21:05:24 2017 -0400
perl-5.26.0 compatibility
In Perl 5.26.0, '.' will no longer be found by default in @INC. This patch
adjusts 'require' statements in two test files to correctly locate file ./t/swallow_stderr.inc.
For: https://rt.cpan.org/Ticket/Display.html?id=120819
t/1.t | 2 +-
t/4.t | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/t/1.t b/t/1.t
index 5306d37..9d15677 100644
--- a/t/1.t
+++ b/t/1.t
@@ -10,7 +10,7 @@ use warnings;
use Test::More tests => 7;
BEGIN { use_ok('ExtUtils::PkgConfig') };
-require 't/swallow_stderr.inc';
+require './t/swallow_stderr.inc';
#########################
diff --git a/t/4.t b/t/4.t
index a729b5c..11c5145 100644
--- a/t/4.t
+++ b/t/4.t
@@ -8,7 +8,7 @@ use warnings;
use Test::More tests => 24;
use ExtUtils::PkgConfig;
-require 't/swallow_stderr.inc';
+require './t/swallow_stderr.inc';
$ENV{PKG_CONFIG_PATH} = './t/';
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]