Just tried running tests on a project that I converted from cabal to the stack. The launch stack bench
simply prints project-name-version: benchmarks
without further output. Do I have to pass extra flags onto the stack to see the exit of the criterion?
for comparison:
benchmark mainbench
type: exitcode-stdio-1.0
hs-source-dirs: src, bench
main-is: MainBench.hs
build-depends: base,
vector,
linear,
hmatrix,
hmatrix-gsl,
criterion,
random,
MonadRandom
ghc-options: -Wall
-O2
default-language: Haskell2010
Edit: it's on stack-0.1.6.0
(This is not a duplicate of How to use the stack bench :))
source
share