Skip to content

Tests fail on big-endian systems #1

@iliastsi

Description

@iliastsi

Tests fails on big-endian systems. Here is an example:

  test/Data/StaticBytesSpec.hs:65:20: 
  14) Data.StaticBytes, Primitive Vector, handles bytes16
       Falsifiable (after 4 tests and 3 shrinks):
         [1]
       expected: [1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
        but got: [0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0]

  To rerun use: --match "/Data.StaticBytes/Primitive Vector/handles bytes16/" --seed 1014189549

  test/Data/StaticBytesSpec.hs:75:20: 
  15) Data.StaticBytes, Primitive Vector, handles bytes32
       Falsifiable (after 4 tests and 3 shrinks):
         [1]
       expected: [1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
        but got: [0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]

  To rerun use: --match "/Data.StaticBytes/Primitive Vector/handles bytes32/" --seed 1014189549

  test/Data/StaticBytesSpec.hs:83:21: 
  16) Data.StaticBytes, Primitive Vector, fuzz with encodeUtf8
       Falsifiable (after 2 tests and 1 shrink):
         "a"
       expected: [97,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
        but got: [0,0,0,0,0,0,0,97,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]

  To rerun use: --match "/Data.StaticBytes/Primitive Vector/fuzz with encodeUtf8/" --seed 1014189549

For the full build log see https://buildd.debian.org/status/fetch.php?pkg=haskell-static-bytes&arch=s390x&ver=0.1.0-1&stamp=1729262862&raw=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