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 |