1 import Test
.Cabal
.Prelude
4 res
<- cabal
' "bench" ["foo", "+RTS"]
5 assertOutputContains
"Some RTS options were found standalone" res
7 res
<- cabal
' "bench" ["foo", "--benchmark-options=\"+RTS\"", "+RTS"]
8 assertOutputContains
"Some RTS options were found standalone" res
10 res
<- cabal
' "bench" ["foo", "--benchmark-options=\"+RTS\""]
11 assertOutputDoesNotContain
"Some RTS options were found standalone" res