Add “Ignore warning” option to cabal check
[cabal.git] / cabal-testsuite / PackageTests / NewBuild / CmdBench / WarningRTS / cabal.test.hs
blob91ebf70179993235303e1201dae7255702e57549
1 import Test.Cabal.Prelude
3 main = cabalTest $ do
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