[GHC] #10834: Test suite: Resistance against CallStack line number changes

#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

#10834: Test suite: Resistance against CallStack line number changes -------------------------------------+------------------------------------- Reporter: nomeata | Owner: Type: bug | Status: patch Priority: normal | Milestone: Component: Test Suite | Version: 7.10.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: Phab:D1206 | Differential Revisions: -------------------------------------+------------------------------------- Changes (by thomie): * status: new => patch * related: => Phab:D1206 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10834#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10834: Test suite: Resistance against CallStack line number changes -------------------------------------+------------------------------------- Reporter: nomeata | Owner: Type: bug | Status: patch Priority: normal | Milestone: Component: Test Suite | Version: 7.10.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: Phab:D1206 | Differential Revisions: -------------------------------------+------------------------------------- Comment (by nomeata): Heh, I knew I could rely on you, thomie. Thanks! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10834#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10834: Test suite: Resistance against CallStack line number changes
-------------------------------------+-------------------------------------
Reporter: nomeata | Owner:
Type: bug | Status: patch
Priority: normal | Milestone:
Component: Test Suite | Version: 7.10.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: Phab:D1206 | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by Thomas Miedema

#10834: Test suite: Resistance against CallStack line number changes -------------------------------------+------------------------------------- Reporter: nomeata | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.12.1 Component: Test Suite | Version: 7.10.2 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: Phab:D1206 | Differential Revisions: -------------------------------------+------------------------------------- Changes (by thomie): * status: patch => closed * resolution: => fixed * milestone: => 7.12.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10834#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC