Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -rtsopts to all test suites #4373

Merged
merged 1 commit into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eras/alonzo/test-suite/cardano-ledger-alonzo-test.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ test-suite cardano-ledger-alonzo-test
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints
-Wunused-packages
-Wunused-packages -rtsopts

build-depends:
base,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ test-suite cardano-ledger-babbage-test
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints
-Wunused-packages
-Wunused-packages -rtsopts

build-depends:
base,
Expand Down
2 changes: 1 addition & 1 deletion eras/byron/chain/executable-spec/byron-spec-chain.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ test-suite chain-rules-test
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wredundant-constraints -Wunused-packages
"-with-rtsopts=-K4m -M300m"
-rtsopts "-with-rtsopts=-K4m -M300m"

build-depends:
base,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ test-suite byron-spec-ledger-test
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wredundant-constraints -Wunused-packages
"-with-rtsopts=-K4m -M150m"
-rtsopts "-with-rtsopts=-K4m -M150m"

build-depends:
base,
Expand Down
4 changes: 2 additions & 2 deletions eras/byron/ledger/impl/cardano-ledger-byron.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ test-suite cardano-ledger-byron-test
-Wall -Wno-all-missed-specialisations
-Wno-missing-deriving-strategies -Wno-missing-import-lists
-Wno-missing-safe-haskell-mode -Wno-prepositive-qualified-module
-Wno-safe -Wno-unsafe -Wunused-packages
-Wno-safe -Wno-unsafe -Wunused-packages -rtsopts
"-with-rtsopts=-K450K -M500M"

build-depends:
Expand Down Expand Up @@ -375,7 +375,7 @@ test-suite epoch-validation-normal-form-test
-Wall -Wno-all-missed-specialisations
-Wno-missing-deriving-strategies -Wno-missing-import-lists
-Wno-missing-safe-haskell-mode -Wno-prepositive-qualified-module
-Wno-safe -Wno-unsafe -Wunused-packages
-Wno-safe -Wno-unsafe -Wunused-packages -rtsopts
"-with-rtsopts=-K450K -M500M"

build-depends:
Expand Down
2 changes: 1 addition & 1 deletion libs/cardano-data/cardano-data.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ test-suite cardano-data-tests
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wredundant-constraints -Wunused-packages
-threaded
-threaded -rtsopts

build-depends:
base,
Expand Down
4 changes: 2 additions & 2 deletions libs/constrained-generators/constrained-generators.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ test-suite constrained
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints
-Wunused-packages
-Wunused-packages -rtsopts

build-depends:
base,
Expand All @@ -84,7 +84,7 @@ benchmark bench
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints
-Wunused-packages
-Wunused-packages -rtsopts

build-depends:
base,
Expand Down
2 changes: 1 addition & 1 deletion libs/set-algebra/set-algebra.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ test-suite tests
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wredundant-constraints -Wunused-packages
-threaded
-threaded -rtsopts

build-depends:
base,
Expand Down
2 changes: 1 addition & 1 deletion libs/small-steps/small-steps.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ test-suite tests
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wredundant-constraints -Wunused-packages
-threaded
-threaded -rtsopts

build-depends:
base,
Expand Down
2 changes: 1 addition & 1 deletion libs/vector-map/vector-map.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ test-suite tests
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wredundant-constraints -Wunused-packages
-threaded
-threaded -rtsopts

build-depends:
base,
Expand Down