Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
haskell-shake


Commits:
e0c3cbc1 by Felix Yan at 2024-02-26T17:43:31+00:00
fix tests again. (thanks to @unsafeIO!)

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -26,7 +26,8 @@ prepare() {
         -i src/Test/Docs.hs
     sed -i 's/cmd "ghc" flags/cmd "ghc" "-dynamic" flags/' src/Test/Self.hs 
src/Test/SelfMake.hs
     sed -i 's/ghc --make/ghc -dynamic --make/' docs/manual/build.sh
-    sed -i "s/--         'want'/--             'want'/" 
src/Development/Shake/Internal/Args.hs
+    sed -i 's/LANGUAGE NoMonomorphismRestriction/LANGUAGE 
NoMonomorphismRestriction, NondecreasingIndentation/' src/Test/Docs.hs
+    sed -i 's/,"-Werror"//' src/Test/SelfMake.hs
 
     # Not sure about this one:
     sed -i 's/at cmd, called at/at want, called at/' src/Test/Errors.hs
@@ -48,8 +49,7 @@ build() {
 
 check() {
     cd $_hkgname-$pkgver
-    # TODO: fix tests
-    runhaskell Setup test --show-details=direct || echo "Tests failed"
+    runhaskell Setup test --show-details=direct
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/haskell-shake/-/commit/e0c3cbc1e74e498dbdc3eede473bea3e7fb4d17c

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/haskell-shake/-/commit/e0c3cbc1e74e498dbdc3eede473bea3e7fb4d17c
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to