File: longer-test-timeout.patch

package info (click to toggle)
haskell-skylighting-core 0.12.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,524 kB
  • sloc: xml: 100,108; haskell: 3,369; cs: 72; ada: 67; java: 37; ansic: 32; cpp: 31; php: 25; tcl: 19; lisp: 14; perl: 11; makefile: 5
file content (13 lines) | stat: -rw-r--r-- 497 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Description: Increase test timeout to fix FTBFS on some architectures

--- haskell-skylighting-core-0.12.3.1.orig/test/test-skylighting.hs
+++ haskell-skylighting-core-0.12.3.1/test/test-skylighting.hs
@@ -224,7 +224,7 @@ p_no_drop cfg syntax t =
 
 noDropTest :: TokenizerConfig -> [Text] -> Syntax -> TestTree
 noDropTest cfg inps syntax =
-  localOption (mkTimeout 25000000)
+  localOption (mkTimeout 250000000)
   $ testCase (Text.unpack (sName syntax))
   $ mapM_ go inps
     where go inp =