summaryrefslogtreecommitdiff
blob: cecf7de10850b9a1adc1c1266dc5505c6aa09b01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 2dbb0fcab02ea60c0ca5e6ab4150691ffcfb8d7c Mon Sep 17 00:00:00 2001
From: Kent Fredric <kentnl@gentoo.org>
Date: Sun, 15 Oct 2017 06:47:45 +1300
Subject: Don't die at load time due to undeclared '$phpclient'

Bug: https://rt.cpan.org/Ticket/Display.html?id=123284
---
 lib/Apache/TestHarnessPHP.pm | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/lib/Apache/TestHarnessPHP.pm b/lib/Apache/TestHarnessPHP.pm
index 90fdedc..806ba6f 100644
--- a/lib/Apache/TestHarnessPHP.pm
+++ b/lib/Apache/TestHarnessPHP.pm
@@ -90,11 +90,6 @@ sub get_tests {
                             'make sure php is in your PATH');
         @tests = grep { not /\.php$/ } @tests;
     }
-    elsif (! $phpclient) {
-        warning(join ' - ', 'skipping *.php tests',
-                            'Test::Harness 2.38 not available');
-        @tests = grep { not /\.php$/ } @tests;
-    }
 
     return @tests;
 }
-- 
2.14.2