aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-08-23 12:42:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-09-05 15:36:47 +0000
commit7008fb5935400b6e3a5518dae07e7b137c5e29b0 (patch)
treeaaac25ad6b62b05db328fb3e6d3270fa269077f8 /main/perl
parentb5681c5d3d34d42440228c6041d9318b70989be4 (diff)
downloadaports-7008fb5935400b6e3a5518dae07e7b137c5e29b0.tar.gz
aports-7008fb5935400b6e3a5518dae07e7b137c5e29b0.tar.bz2
aports-7008fb5935400b6e3a5518dae07e7b137c5e29b0.tar.xz
main/perl: skip dst test
Diffstat (limited to 'main/perl')
-rw-r--r--main/perl/APKBUILD7
-rw-r--r--main/perl/musl-skip-dst-test.patch13
2 files changed, 18 insertions, 2 deletions
diff --git a/main/perl/APKBUILD b/main/perl/APKBUILD
index e667e84018..549fc1d2d3 100644
--- a/main/perl/APKBUILD
+++ b/main/perl/APKBUILD
@@ -15,6 +15,7 @@ checkdepends="procps"
subpackages="$pkgname-doc $pkgname-dev $pkgname-utils::noarch miniperl"
source="https://www.cpan.org/src/5.0/perl-$pkgver.tar.gz
musl-locale.patch
+ musl-skip-dst-test.patch
"
# secfixes:
@@ -94,7 +95,8 @@ build() {
check() {
cd "$builddir"
export CI=true
- make test
+ export LC_ALL=C
+ make test-notty
}
package() {
@@ -165,4 +167,5 @@ utils() {
}
sha512sums="b0db58699dfbe1bab10a7b0472cc377ed215668c89d13c7ca693e6b75ab6a6593a9cf137adbd6096063ee8200d83b389e745bb96b7c6bf4cf4588ac587a446ae perl-5.30.0.tar.gz
-a78b5fb1a2b6f60b401329cfd2d8349d4fdcc19628cde0e9b840b82e1a02e705f7d7413fe206aa13ed714ab93a65b62ac3d85dfd526ca8048621d5d89b22f0ef musl-locale.patch"
+a78b5fb1a2b6f60b401329cfd2d8349d4fdcc19628cde0e9b840b82e1a02e705f7d7413fe206aa13ed714ab93a65b62ac3d85dfd526ca8048621d5d89b22f0ef musl-locale.patch
+3eaec691bc38e208ba4f34130ae45e50b6c339fa50093d0b0f6d7f24cb5b7c2a3734ca714a279c4b51173f82e46a8e7a3e70bfc7d7471a18c55a2102140e4186 musl-skip-dst-test.patch"
diff --git a/main/perl/musl-skip-dst-test.patch b/main/perl/musl-skip-dst-test.patch
new file mode 100644
index 0000000000..d217eccfd0
--- /dev/null
+++ b/main/perl/musl-skip-dst-test.patch
@@ -0,0 +1,13 @@
+diff --git a/cpan/Time-Piece/t/02core_dst.t b/cpan/Time-Piece/t/02core_dst.t
+index 3f54fff..4b1faa8 100644
+--- a/cpan/Time-Piece/t/02core_dst.t
++++ b/cpan/Time-Piece/t/02core_dst.t
+@@ -119,7 +119,7 @@ cmp_ok($t->month_last_day, '==', 31); # test more
+
+
+ SKIP: {
+- skip "Extra tests for Linux, BSD only.", 8 unless $is_linux or $is_mac or $is_bsd;
++ skip "Extra tests for Linux, BSD only.", 8 unless $is_mac or $is_bsd;
+
+ local $ENV{TZ} = "EST5EDT4";
+ Time::Piece::_tzset();