Passing RTS-opts to `stack test`

Viewed 329

How can I pass RTS options to the test-suite of my project using stack?

stack exec allows for passing options to the executable, but since stack test is a synonym for stack build --test I can't see how to accomplish this.

I'm trying to generate some JSON-formatted profiler output for my test-suite using the RTS option -pj (GHC user guide).

I can see where stack places the regular executables, but not the executables for the test-suite.

0 Answers
Related