
3 Jan
2016
3 Jan
'16
1:19 a.m.
$ cabal bench "fib"
Cabal adds a layer of indirection to the workflow. In order to pass arguments to your benchmark program, you must prefix each argument with '--benchmark-option=', leading to this: $ cabal bench --bench-mark-option="fib" The quotes are optional in this case. For more information, run 'cabal bench --help'.
$ cabal test "Sorting-Group-1"
Same here. To pass the argument "Sorting-Group-1" to your test program, you must prefix each argument with '--test-option=', leading to this: $ cabal test --test-option="Sorting-Group-1" For more information, run 'cabal test --help'.