module PackageTests.PathsModule.Library.Check (suite) where import PackageTests.PackageTester (PackageSpec(..), assertBuildSucceeded, cabal_build) import System.FilePath import Test.HUnit suite :: FilePath -> Test suite ghcPath = TestCase $ do let spec = PackageSpec ("PackageTests" </> "PathsModule" </> "Library") [] result <- cabal_build spec ghcPath assertBuildSucceeded result