From 14b334385d2bd752b988f2fde7ff97690a8aed52 Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Thu, 18 Aug 2022 09:03:58 +0000 Subject: system/perl: improve test speed. avoid race. fixes #782. This may not fully mitigate a race condition, but has been shown to work consistently on platforms (e.g. pmmx) where this had been previously an issue. --- system/perl/APKBUILD | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'system/perl/APKBUILD') diff --git a/system/perl/APKBUILD b/system/perl/APKBUILD index cc8a2c781..c63f7c2e2 100644 --- a/system/perl/APKBUILD +++ b/system/perl/APKBUILD @@ -4,7 +4,7 @@ # Maintainer: Adélie Perl Team pkgname=perl pkgver=5.34.1 -pkgrel=0 +pkgrel=1 pkgdesc="Larry Wall's Practical Extraction and Report Language" url="https://www.perl.org/" arch="all" @@ -89,7 +89,11 @@ build() { } check() { - TEST_JOBS=$JOBS make test_harness + # https://perldoc.perl.org/perlhack.txt + export LC_ALL=C + export TEST_JOBS=${JOBS} + export PERL_TEST_HARNESS_ASAP=1 + make -j${JOBS} test_harness_notty } package() { -- cgit v1.2.3-60-g2f50