Skip to content

Commit

Permalink
dev-perl/Plack: Patch tests to avoid parallel-testing race-condition.
Browse files Browse the repository at this point in the history
This is already fixed upstream in git, so the patch is attached verbatim
until upstream get around to pushing a new release.

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="alpha amd64 amd64-fbsd arm arm64 hppa ia64 m68k mips nios2 ppc ppc64 riscv s390 sh sparc sparc-fbsd x86 x86-fbsd"
  • Loading branch information
kentfredric authored and akhuettel committed May 6, 2016
1 parent 5112d4d commit 3a9bf0c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dev-perl/Plack/Plack-1.3.900.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ DESCRIPTION="Perl Superglue for Web frameworks and Web Servers (PSGI toolkit)"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test minimal examples"

PATCHES=(
"${FILESDIR}/${P}-issue-545.patch"
)
RDEPEND="
!minimal? (
dev-perl/CGI-Compile
Expand Down
22 changes: 22 additions & 0 deletions dev-perl/Plack/files/Plack-1.3.900-issue-545.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
From 86256c2af6115a2c99c310ba6979bf40f72a6864 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Richard=20Sim=C3=B5es?= <[email protected]>
Date: Sun, 3 Jan 2016 19:49:51 -0600
Subject: [PATCH] Allow log4perl.t and log4perl-category.t to run in parallel

---
t/Plack-Middleware/log4perl-category.t | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/Plack-Middleware/log4perl-category.t b/t/Plack-Middleware/log4perl-category.t
index 1951015..946edbf 100644
--- a/t/Plack-Middleware/log4perl-category.t
+++ b/t/Plack-Middleware/log4perl-category.t
@@ -6,7 +6,7 @@ use Test::More;
use Plack::Middleware::Log4perl;
use HTTP::Request::Common;

-my $test_file = "t/Plack-Middleware/log4perl.log";
+my $test_file = "t/Plack-Middleware/log4perl-category.log";

my $conf = <<CONF;
log4perl.logger.0 = INFO, Logfile

0 comments on commit 3a9bf0c

Please sign in to comment.