Opened 4 years ago

Closed 4 years ago

#8341 closed bug (fixed)

T8333 fails to pass because of stdout ghci version mismatch

Reported by: leroux Owned by: leroux
Priority: normal Milestone:
Component: Test Suite Version: 7.6.3
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case: T8333
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


-GHCi, version 7.7.20130919:  :? for help
+GHCi, version 7.7.20130922:  :? for help

T8333 has a hardcoded version number which changes based on compilation time.

Also, this test should also ignore .ghci files because it could alter the prompt. If there are any other tests that do a literal compare on ghci output, then they should all ignore .ghci.

Problems will this test will come up in the future if GHCi output changes.

Attachments (1)

0001-T8333-Ignore-ghc-version-first-line-of-ghci-output-a.patch (1.1 KB) - added by leroux 4 years ago.
T8333: Ignore ghc version (first line of ghci output) and don't read .ghci.

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by leroux

T8333: Ignore ghc version (first line of ghci output) and don't read .ghci.

comment:1 Changed 4 years ago by leroux

Status: newpatch

comment:2 Changed 4 years ago by monoidal

Resolution: fixed
Status: patchclosed

I fixed it by adding -v0 to Makefile, commit noted at #8333.

Note: See TracTickets for help on using tickets.