diff options
author | Rémi Lefèvre <rlefevre@dmy.fr> | 2019-12-10 08:57:43 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-12-12 16:31:59 +0000 |
commit | 42336c1358c0bc8186f48c20c6ae30f9ba63f1f3 (patch) | |
tree | 54f21d71fca8bd5d9a05a2f03aec4642c93caa3f /community/ghc/0001-testsuite-Fix-T8602-on-musl.patch | |
parent | db28db84a99ef663f3d06025a645c6c0d72a873a (diff) | |
download | aports-42336c1358c0bc8186f48c20c6ae30f9ba63f1f3.tar.bz2 aports-42336c1358c0bc8186f48c20c6ae30f9ba63f1f3.tar.xz |
community/ghc: fix testsuite on Alpine Linux
- Add `MAKEFLAGS= ` hack to work around failing `+PYTHON`
- Add "stat too good" results for Alpine x64
- Increase tolerancy for two "stat not good enough" tests
- Add a few more patches from mainline
- Require gnu grep to fix T13340 & T7014
- Skip T2615 and T10458 (unresolved linking issues)
Some tests should be investigated, particularly
- T9630 (+22% memory allocation)
- T10458: linking issue
- T2615: linker script issue
- T12600: broken pipe with grep .. | head -n 1 (replaced by grep -m 1)
Hopefully we can get rid of the MAKEFLAGS hack once Hadrian is used.
Diffstat (limited to 'community/ghc/0001-testsuite-Fix-T8602-on-musl.patch')
-rw-r--r-- | community/ghc/0001-testsuite-Fix-T8602-on-musl.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/community/ghc/0001-testsuite-Fix-T8602-on-musl.patch b/community/ghc/0001-testsuite-Fix-T8602-on-musl.patch new file mode 100644 index 0000000000..3c0e617b3a --- /dev/null +++ b/community/ghc/0001-testsuite-Fix-T8602-on-musl.patch @@ -0,0 +1,23 @@ +From 81608e82dfed7e78c1bba189f26c8c760f7c196a Mon Sep 17 00:00:00 2001 +From: Ben Gamari <ben@smart-cactus.org> +Date: Tue, 11 Jun 2019 12:45:24 -0400 +Subject: testsuite: Fix T8602 on musl + +Musl wants hash-bangs on all executables. +--- + testsuite/tests/driver/T8602/T8602.script | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/testsuite/tests/driver/T8602/T8602.script b/testsuite/tests/driver/T8602/T8602.script +index 746fb096bf..4729bd4e1e 100644 +--- a/testsuite/tests/driver/T8602/T8602.script ++++ b/testsuite/tests/driver/T8602/T8602.script +@@ -1,3 +1,4 @@ +-:! echo 'echo $4 $5 $6; exit 1' > t8602.sh ++:! echo '#!/bin/sh' > t8602.sh ++:! echo 'echo $4 $5 $6; exit 1' >> t8602.sh + :! chmod +x t8602.sh + :load A +-- +2.17.1 + |