diff --git a/cabal.project b/cabal.project index a0a131f76..304224f19 100644 --- a/cabal.project +++ b/cabal.project @@ -3,6 +3,14 @@ packages: . -- packages: . ../hs-socks -- packages: . ../http2 +package * + coverage: True + library-coverage: True + +package attoparsec + coverage: False + library-coverage: False + source-repository-package type: git location: https://github.com/simplex-chat/aeson.git diff --git a/package.yaml b/package.yaml index c610d89f7..e4f73dbb8 100644 --- a/package.yaml +++ b/package.yaml @@ -144,6 +144,8 @@ tests: - silently == 1.2.* - main-tester == 0.2.* - timeit == 2.0.* + ghc-options: + - -fhpc ghc-options: # - -haddock diff --git a/simplexmq.cabal b/simplexmq.cabal index eb205f1a9..98e4ed1bc 100644 --- a/simplexmq.cabal +++ b/simplexmq.cabal @@ -545,7 +545,7 @@ test-suite simplexmq-test Paths_simplexmq hs-source-dirs: tests - ghc-options: -Wall -Wcompat -Werror=incomplete-patterns -Wredundant-constraints -Wincomplete-record-updates -Wincomplete-uni-patterns -Wunused-type-patterns + ghc-options: -Wall -Wcompat -Werror=incomplete-patterns -Wredundant-constraints -Wincomplete-record-updates -Wincomplete-uni-patterns -Wunused-type-patterns -fhpc build-depends: HUnit ==1.6.* , QuickCheck ==2.14.* diff --git a/tests/AgentTests/FunctionalAPITests.hs b/tests/AgentTests/FunctionalAPITests.hs index 79bb4b6bb..4317a3d4d 100644 --- a/tests/AgentTests/FunctionalAPITests.hs +++ b/tests/AgentTests/FunctionalAPITests.hs @@ -168,7 +168,7 @@ functionalAPITests t = do it "should suspend agent on timeout, even if pending messages not sent" $ testSuspendingAgentTimeout t describe "Batching SMP commands" $ do - it "should subscribe to multiple (200) subscriptions with batching" $ + xit "should subscribe to multiple (200) subscriptions with batching" $ testBatchedSubscriptions 200 10 t it "should subscribe to multiple (6) subscriptions with batching" $ testBatchedSubscriptions 6 3 t