Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests are failing on master #183

Open
andreasabel opened this issue Sep 28, 2023 · 1 comment
Open

Tests are failing on master #183

andreasabel opened this issue Sep 28, 2023 · 1 comment

Comments

@andreasabel
Copy link
Member

Test suite haskeline-tests: RUNNING...
### Failure in: 0:interaction:0:Unicode encoding (valid):0
tests/RunTTY.hs:106
expected: ["\ESC[?1h\ESC=0:","x\206\177\206\178\206\179y"]
 but got: ["\ESC[?1h\ESC=","0:x\206\177\206\178\206\179y"]
### Failure in: 0:interaction:4:history encoding:2
tests/RunTTY.hs:106
expected: ["abc??x?x?"]
 but got: ["abc\206\177\239\191\189x\239\191\189x\239\191\189"]
### Failure in: 0:interaction:5:getInputChar:1:bad encoding (separate)
tests/RunTTY.hs:106
expected: ["\ESC[?1h\ESC=0:","\206\177\r\n\ESC[?1l\ESC>line 0:\206\177\n\ESC[?1h\ESC=1:","\239\191\189\r\n\ESC[?1l\ESC>line 1:\239\191\189\n\ESC[?1h\ESC=2:","x\r\n\ESC[?1l\ESC>line 2:x\n\ESC[?1h\ESC=3:",""]
 but got: ["\ESC[?1h\ESC=","\206\177\&0:\206\177\r\n\ESC[?1l\ESC>line 0:\206\177\n\ESC[?1h\ESC=1:","\239\191\189\r\n\ESC[?1l\ESC>line 1:\239\191\189\n\ESC[?1h\ESC=2:","x\r\n\ESC[?1l\ESC>line 2:x\n\ESC[?1h\ESC=3:",""]
Cases: 26  Tried: 26  Errors: 0  Failures: 3

Build info: MacOS Monterey, GHC 9.6.3

cabal-plan fingerprint

b0b7538871ffc058486fc00740886d2f3172f8fa6869936bfe83a5e10bd744ab G HUnit-1.6.2.0
________________________________________________________________ B array-0.5.5.0
________________________________________________________________ B base-4.18.1.0
ac21ca63452dfc9b0bcab87c57699c531d87f7a9bcb6230ca46fba1b7faeebc0 G binary-0.8.9.1
________________________________________________________________ B bytestring-0.11.5.2
430bcf8a3404f7e55319573c0b807b1356946f0c8f289bb3d9afb279c636b87b G call-stack-0.4.0
cf6902d4d27158f0b8643673a230a75c98169d388295f9b641686c83ce15e324 G containers-0.7
________________________________________________________________ B deepseq-1.4.8.1
________________________________________________________________ B directory-1.3.8.1
________________________________________________________________ B exceptions-0.10.7
________________________________________________________________ B filepath-1.4.100.4
________________________________________________________________ B ghc-bignum-1.3
________________________________________________________________ B ghc-boot-th-9.6.3
________________________________________________________________ B ghc-prim-0.10.0
________________________________________________________________ L haskeline-0.8.2.1
________________________________________________________________ B mtl-2.3.1
________________________________________________________________ B pretty-1.1.3.6
________________________________________________________________ B process-1.6.17.0
________________________________________________________________ B rts-1.0.2
________________________________________________________________ B stm-2.5.1.0
________________________________________________________________ B system-cxx-std-lib-1.0
________________________________________________________________ B template-haskell-2.20.0.0
________________________________________________________________ B terminfo-0.4.1.6
cbe65b04a28a96a1de364d19c5ee33dc63cd253aa2716d22ceb8496b2062b6c8 G text-2.1
________________________________________________________________ B time-1.12.2
________________________________________________________________ B transformers-0.6.1.0
________________________________________________________________ B unix-2.8.1.0
andreasabel added a commit to andreasabel/haskeline that referenced this issue Sep 28, 2023
bgamari pushed a commit that referenced this issue Jan 23, 2024
* Add Haskell CI for GHC 7.10 - 9.8; allow containers-0.7

Closes #182.

* Update stack.yaml; switch off tests

The tests are broken see #183

* Restrict tested-with to GHC 8.0 - 9.8
@athas
Copy link
Collaborator

athas commented Feb 6, 2025

Pretty much all of the tests seem to fail now:

$ cabal test
...
Cases: 26  Tried: 26  Errors: 0  Failures: 25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants