From b4515415ba5bfc34f14c88b5d13a5e5e7c4aa9f7 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 9 Jan 2018 09:46:18 +0100 Subject: community/haskell-hslua: disable hanging test --- community/haskell-hslua/PKGBUILD | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/community/haskell-hslua/PKGBUILD b/community/haskell-hslua/PKGBUILD index d47e3054..349508b0 100644 --- a/community/haskell-hslua/PKGBUILD +++ b/community/haskell-hslua/PKGBUILD @@ -1,4 +1,26 @@ # See https://github.com/jgm/pandoc/issues/4224 and # https://github.com/jgm/pandoc/issues/3805 -eval "$(declare -f build | sed 's| -f-lua_32bits| -flua_32bits|')" +eval "$( + declare -f build | \ + sed ' + s| -f-lua_32bits| -flua_32bits| + ' +)" + +# this test hangs (why?) + +eval "$( + declare -f prepare | \ + sed ' + 2 a \ + sed -i '"'"' \ + /loadfile loading/ { \ + :a \ + /^.*\\n$/d \ + N \ + ba \ + } \ + '"'"' "$_hkgname-$pkgver/test/Foreign/Lua/ApiTest.hs" + ' +)" -- cgit v1.2.3-70-g09d2