[Git][haskell-team/DHG_packages][master] typst: Add patch to extend test timeout

Scott Talbert (@swt2c) gitlab at salsa.debian.org
Wed Jan 3 00:42:46 GMT 2024



Scott Talbert pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
ba03a160 by Scott Talbert at 2024-01-02T19:28:50-05:00
typst: Add patch to extend test timeout

- - - - -


3 changed files:

- p/haskell-typst/debian/changelog
- + p/haskell-typst/debian/patches/f16b937f9099853f08ab9488afe2db4054027150.patch
- p/haskell-typst/debian/patches/series


Changes:

=====================================
p/haskell-typst/debian/changelog
=====================================
@@ -1,3 +1,9 @@
+haskell-typst (0.1.0.0-2) unstable; urgency=medium
+
+  * Add patch to extend test timeout (Closes: #1056064)
+
+ -- Scott Talbert <swt at techie.net>  Tue, 02 Jan 2024 19:28:43 -0500
+
 haskell-typst (0.1.0.0-1) unstable; urgency=low
 
   * Initial release


=====================================
p/haskell-typst/debian/patches/f16b937f9099853f08ab9488afe2db4054027150.patch
=====================================
@@ -0,0 +1,22 @@
+From f16b937f9099853f08ab9488afe2db4054027150 Mon Sep 17 00:00:00 2001
+From: Eric Long <i at hack3r.moe>
+Date: Sun, 15 Oct 2023 02:40:56 +0800
+Subject: [PATCH] Increase test timeout to 1s
+
+---
+ test/Main.hs | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/Main.hs b/test/Main.hs
+index d7e4126..b6edaeb 100644
+--- a/test/Main.hs
++++ b/test/Main.hs
+@@ -33,7 +33,7 @@ goldenTests :: IO TestTree
+ goldenTests = do
+   inputs <- findByExtension [".typ"] "test/typ"
+   pure $
+-    localOption (Timeout 100000 "100ms") $
++    localOption (Timeout 1000000 "1s") $
+       testGroup "golden tests" (map runTest inputs)
+ 
+ runTest :: FilePath -> TestTree


=====================================
p/haskell-typst/debian/patches/series
=====================================
@@ -1 +1,2 @@
 fea8e05a6c870ea6e032102aaf9c4a2651a60135.patch
+f16b937f9099853f08ab9488afe2db4054027150.patch



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/ba03a1605c1c087e5071bc6a1220dc80086f283e

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/ba03a1605c1c087e5071bc6a1220dc80086f283e
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20240103/784fc48e/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list