Skip to content

Run regression tests in parallel#713

Merged
sternenseemann merged 1 commit intoNixOS:masterfrom
alexfmpe:parallel-tests
Mar 26, 2026
Merged

Run regression tests in parallel#713
sternenseemann merged 1 commit intoNixOS:masterfrom
alexfmpe:parallel-tests

Conversation

@alexfmpe
Copy link
Copy Markdown
Member

@alexfmpe alexfmpe commented Mar 25, 2026

This makes the regression-test suite 4-7x faster in my mac and linux machines.
Oddly, trying to do this on the hspec tests actually makes them slightly slower, even with parallel.

Comment thread cabal2nix/cabal2nix.cabal
, tasty-golden
default-language: Haskell2010
build-tools: cabal2nix
ghc-options: -threaded -with-rtsopts=-K64K
Copy link
Copy Markdown
Member Author

@alexfmpe alexfmpe Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder why -K was added.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found these commits:

Run the test suite with a 1K stack to catch space leaks.

@sternenseemann sternenseemann merged commit 737673f into NixOS:master Mar 26, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants