Skip to content

tests fail with GHC 7.8.3 and pass with GHC 8.0.2 #9

@mignon-p

Description

@mignon-p

When using GHC 7.8.3, I get:

(used seed 4269272319002797922)

         Properties  Total      
 Passed  4           4          
 Failed  2           2          
 Total   6           6          
Test suite kicad-data-quickcheck: FAIL
Test suite logged to: dist/test/kicad-data-0.4.0-kicad-data-quickcheck.log
0 of 1 test suites (0 of 1 test cases) passed.

kicad-data-0.4.0-kicad-data-quickcheck.log.zip

When using GHC 8.0.2, I get:

Expr:
  parse all keywords: [OK, passed 100 tests]
PcbnewExpr:
  parse fp_line correctly: [OK, passed 100 tests]
  parse fp_arc correctly: [OK, passed 100 tests]
  parse fp_poly correctly: [OK, passed 100 tests]
  parse and write any PcbnewExpr: [OK, passed 100 tests]
  parse and pretty any PcbnewExpr: [OK, passed 100 tests]

         Properties  Total      
 Passed  6           6          
 Failed  0           0          
 Total   6           6          

I suspect it isn't actually the difference in compiler version that makes the difference, but rather some difference in the versions of dependencies used.

With GHC 7.8.3, my dependencies are as follows:

array == 0.5.0.0
base == 4.7.0.1
bytestring == 0.10.4.0
containers == 0.5.5.1
deepseq == 1.3.0.2
ghc-prim == 0.3.1.0
ieee754 == 0.7.9
integer-gmp == 0.5.1.0
lens-family == 1.1.0
lens-family-core == 1.1.0
mtl == 2.1.3.1
parsec == 3.1.11
parsec-numbers == 0.1.0
pretty-compact == 1.0
rts == 1.0
text == 1.1.0.0
transformers == 0.3.0.0

With GHC 8.0.2, my dependencies are:

array == 0.5.1.1
base == 4.9.1.0
binary == 0.8.3.0
bytestring == 0.10.8.1
containers == 0.5.7.1
deepseq == 1.4.2.0
ghc-prim == 0.5.0.0
ieee754 == 0.8.0
integer-gmp == 1.0.0.1
lens-family == 1.2.1
lens-family-core == 1.2.1
mtl == 2.2.1
parsec == 3.1.11
parsec-numbers == 0.1.0
pretty-compact == 1.0
rts == 1.0
text == 1.2.2.1
transformers == 0.5.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions