Commit 7953380d authored by ttuegel's avatar ttuegel
Browse files

Fixed test suite breakage due to TestSuite API changes

Ticket #215 (Overhaul support for packages' tests).  The update to the
TestSuite parser which stopped disallowed configurations during parsing also
broke the existing test suite with API changes.
parent 73841651
......@@ -61,9 +61,7 @@ suite cabalVersion = TestCase $ do
}
, testSuites = [ emptyTestSuite
{ testName = "dummy"
, mainIs = Just "dummy.hs"
, testType = ExeTest $ Version [1,0] []
, testModule = Nothing
, testType = ExeTest (Version [1,0] []) "dummy.hs"
, testBuildInfo = emptyBuildInfo
{ targetBuildDepends =
[ Dependency (PackageName "base") anyVersion ]
......
......@@ -15,5 +15,5 @@ Library
test-suite dummy
main-is: dummy.hs
type: executable 1.0
type: exitcode-stdio-1.0
build-depends: base
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment