#3961: HUnit has erroneous behavior when compiled with Cabal
-------------------------+--------------------------------------------------
Reporter: RichardG | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.12.1 | Keywords:
Os: MacOS X | Testcase:
Architecture: x86 | Failure: None/Unknown
-------------------------+--------------------------------------------------
HUnit 1.2.2.1 ships with a set of unit tests. Incorrect behavior occurs
when these tests are compiled into a program using Cabal and GHC 6.12.1
(Haskell Platform 2010.1).
Correct behavior occurs when these tests are:
* compiled using {{{ghc --make}}} using GHC 6.12.1.
* run using GHCi 6.12.1.
* compiled into a program using Cabal and GHC 6.10.4 (Haskell Platform
2009.2).
* compiled using {{{ghc --make}}} using GHC 6.10.4.
* run using GHCi 6.10.4.
This behavior appears to involve interactions between the Testable and
Assertable classes and instances in {{{Test/HUnit/Base.hs}}}. This
affects the correctness of the programs.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3961>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs