Skip to content

Commit d1b0b9c

Browse files
committed
Do not use hspec-discover
Try to spare memory for s390x CI.
1 parent d867cbf commit d1b0b9c

File tree

8 files changed

+40
-12
lines changed

8 files changed

+40
-12
lines changed

unicode-data-names/test/Main.hs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1-
{-# OPTIONS_GHC -F -pgmF hspec-discover #-}
1+
module Main where
2+
3+
import Test.Hspec
4+
import qualified Unicode.Char.General.NamesSpec as Names
5+
6+
main :: IO ()
7+
main = hspec spec
8+
9+
spec :: Spec
10+
spec = describe "Unicode.Char.General.Names" Names.spec

unicode-data-names/unicode-data-names.cabal

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@ test-suite test
9898
, hspec >= 2.0 && < 2.11
9999
, unicode-data >= 0.4 && < 0.5
100100
, unicode-data-names
101-
build-tool-depends:
102-
hspec-discover:hspec-discover >= 2.0 && < 2.11
103101
default-language: Haskell2010
104102

105103
executable export-all-chars

unicode-data-scripts/test/Main.hs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1-
{-# OPTIONS_GHC -F -pgmF hspec-discover #-}
1+
module Main where
2+
3+
import Test.Hspec
4+
import qualified Unicode.Char.General.ScriptsSpec as Scripts
5+
6+
main :: IO ()
7+
main = hspec spec
8+
9+
spec :: Spec
10+
spec = describe "Unicode.Char.General.Scripts" Scripts.spec

unicode-data-scripts/unicode-data-scripts.cabal

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@ test-suite test
9494
, hspec >= 2.0 && < 2.11
9595
, unicode-data
9696
, unicode-data-scripts
97-
build-tool-depends:
98-
hspec-discover:hspec-discover >= 2.0 && < 2.11
9997
default-language: Haskell2010
10098

10199
benchmark bench

unicode-data-security/test/Main.hs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1-
{-# OPTIONS_GHC -F -pgmF hspec-discover #-}
1+
module Main where
2+
3+
import Test.Hspec
4+
import qualified Unicode.Char.Identifiers.SecuritySpec as Security
5+
6+
main :: IO ()
7+
main = hspec spec
8+
9+
spec :: Spec
10+
spec = describe "Unicode.Char.Identifiers.Security" Security.spec

unicode-data-security/unicode-data-security.cabal

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,6 @@ test-suite test
9595
base >= 4.7 && < 4.18
9696
, hspec >= 2.0 && < 2.11
9797
, unicode-data-security
98-
build-tool-depends:
99-
hspec-discover:hspec-discover >= 2.0 && < 2.11
10098
default-language: Haskell2010
10199

102100
benchmark bench

unicode-data/test/Main.hs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1-
{-# OPTIONS_GHC -F -pgmF hspec-discover #-}
1+
module Main where
2+
3+
import Test.Hspec
4+
import qualified Unicode.CharSpec
5+
6+
main :: IO ()
7+
main = hspec spec
8+
9+
spec :: Spec
10+
spec = describe "Unicode.Char" Unicode.CharSpec.spec

unicode-data/unicode-data.cabal

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,6 @@ test-suite test
148148
base >= 4.7 && < 4.18
149149
, hspec >= 2.0 && < 2.11
150150
, unicode-data
151-
build-tool-depends:
152-
hspec-discover:hspec-discover >= 2.0 && < 2.11
153151
-- We need to match a GHC version with the same Unicode version.
154152
-- See: test/Unicode/CharSpec.hs for compatibility table.
155153
if impl(ghc >= 9.5.1)

0 commit comments

Comments
 (0)