module PackageTests.TestOptions.Check where
import PackageTests.PackageTester
import System.FilePath
import Test.HUnitsuite :: FilePath -> TestsuiteghcPath = TestCase$ do
let spec = PackageSpec ("PackageTests"</>"TestOptions")
["--enable-tests"]
_ <- cabal_buildspecghcPathresult <- cabal_testspec ["--test-options=1 2 3"] ghcPath
let message = "\"cabal test\" did not pass the correct options to the "++"test executable with \"--test-options\""assertEqualmessageTrue$successfulresultresult' <- cabal_testspec [ "--test-option=1"
, "--test-option=2"
, "--test-option=3"
]
ghcPath
let message' = "\"cabal test\" did not pass the correct options to the "++"test executable with \"--test-option\""assertEqualmessage'True$successfulresult'