#811: test-suite type not detected ----------------------------+----------------------------------------------- Reporter: basvandijk | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.10.1.0 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ----------------------------+----------------------------------------------- I just installed the latest `cabal`:
{{{ $ cabal --version cabal-install version 0.10.2 using version 1.10.1.0 of the Cabal library }}} I'm trying to rewrite the custom test-suite of my [http://hackage.haskell.org/package/threads threads] package to the new Cabal test-suite feature. The original `.cabal` contains: {{{ ... executable test-threads main-is: test.hs ... }}} When I rewrite that to: {{{ ... test-suite test-threads type: exitcode-stdio-1.0 main-is: test.hs ... }}} And than configure it, I get the following error: {{{ $ cabal configure cabal: threads.cabal:60: The 'type' field is required for test suites. The available test types are: exitcode-stdio-1.0 }}} I attached the package. Duncan on `#haskell` figured out that if a .cabal contains conditionals, like the one I have, the bug appears. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/811> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects _______________________________________________ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel