
#10834: Test suite: Resistance against CallStack line number changes -------------------------------------+------------------------------------- Reporter: nomeata | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Test Suite | Version: 7.10.2 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Revisions: | -------------------------------------+------------------------------------- Hi, I just got this: {{{ Actual stderr output differs from expected: --- ./ghci/scripts/T10501.stderr.normalised 2015-09-03 00:20:22.622940998 +0000 +++ ./ghci/scripts/T10501.run.stderr.normalised 2015-09-03 00:20:22.622940998 +0000 @@ -1,6 +1,6 @@ *** Exception: Prelude.head: empty list CallStack: - error, called at libraries/base/GHC/List.hs:1009:3 in base:GHC.List + error, called at libraries/base/GHC/List.hs:1011:3 in base:GHC.List *** Exception: Prelude.undefined CallStack: error, called at libraries/base/GHC/Err.hs:42:14 in base:GHC.Err *** unexpected failure for T10501(ghci) }}} Having the test suite so fragile is annoying. Would it be possible to ignore line number differences in call stacks? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10834 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler