Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 5d2e4a1c06
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.579 kb
module PackageTests.BuildDeps.GlobalBuildDepsNotAdditive1.Check where
import Test.HUnit
import PackageTests.PackageTester
import System.FilePath
import Data.List
suite :: Test
suite = TestCase $ do
let spec = PackageSpec ("PackageTests" </> "BuildDeps" </> "GlobalBuildDepsNotAdditive1") []
result <- cabal_build spec
assertEqual "cabal build should fail - see test-log.txt" False (successful result)
assertBool "cabal error should be \"Failed to load interface for `Prelude'\"" $
"Failed to load interface for `Prelude'" `isInfixOf` outputText result
Jump to Line
Something went wrong with that request. Please try again.