Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,344
    • Issues 5,344
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 572
    • Merge requests 572
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #10834
Closed
Open
Issue created Sep 03, 2015 by Joachim Breitner@nomeataDeveloper

Test suite: Resistance against CallStack line number changes

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?

Trac metadata
Trac field Value
Version 7.10.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Test Suite
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking