#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 Revisions:

Description

-GHCi, version 7.7.20130919: http://www.haskell.org/ghc/  :? for help
+GHCi, version 7.7.20130922: http://www.haskell.org/ghc/  :? 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 19 months ago.
T8333: Ignore ghc version (first line of ghci output) and don't read .ghci.

Download all attachments as: .zip

Change History (3)

Changed 19 months ago by leroux

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

comment:1 Changed 19 months ago by leroux

  • Status changed from new to patch

comment:2 Changed 19 months ago by monoidal

  • Resolution set to fixed
  • Status changed from patch to closed

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

Note: See TracTickets for help on using tickets.