diff options
| author | Kent Fredric <kentnl@gentoo.org> | 2017-10-15 07:34:13 +1300 |
|---|---|---|
| committer | Kent Fredric <kentnl@gentoo.org> | 2017-10-15 07:34:58 +1300 |
| commit | 4b8f55f044b8f67a0b83d22940a927bd964257b1 (patch) | |
| tree | 0985c7ef6c4ef534bcedbfc2b11b39b9b20e4d4f /dev-perl/Apache-Test/files/Apache-Test-1.400.0-phpclient.patch | |
| parent | 520922734c4416449d2fbae6c486d57b187e5d4f (diff) | |
| download | gentoo-4b8f55f044b8f67a0b83d22940a927bd964257b1.tar.gz gentoo-4b8f55f044b8f67a0b83d22940a927bd964257b1.tar.bz2 gentoo-4b8f55f044b8f67a0b83d22940a927bd964257b1.zip | |
dev-perl/Apache-Test: Restore & Fix tests
- EAPI6
- Resurrected tests for the first time since 2004, please open a bug
if there is actually a problem still
- Expand tests to dummy-compile all modules, finding and fixing 3 bugs
in the process.
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-perl/Apache-Test/files/Apache-Test-1.400.0-phpclient.patch')
| -rw-r--r-- | dev-perl/Apache-Test/files/Apache-Test-1.400.0-phpclient.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-perl/Apache-Test/files/Apache-Test-1.400.0-phpclient.patch b/dev-perl/Apache-Test/files/Apache-Test-1.400.0-phpclient.patch new file mode 100644 index 000000000000..cecf7de10850 --- /dev/null +++ b/dev-perl/Apache-Test/files/Apache-Test-1.400.0-phpclient.patch @@ -0,0 +1,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 + |
