ghci063 failing on Darwin
--- /dev/null 2019-01-16 12:17:41.000000000 -0800
+++ ghci/scripts/ghci063.run/ghci063.run.stderr.normalised 2019-01-16 12:17:42.000000000 -0800
@@ -0,0 +1,2 @@
+
+B.hs:1:1: parse error on input ‘***’
The test in question is just a normal ghci_script
test:
:! echo module A where {} >A.hs
:! echo module B where { import A } >B.hs
:load B
-- We're going to replace B.hs with an invalid module but without
-- changing its timestamp. A :reload should *not* look at the
-- contents of the file, because the timestamp hasn't changed.
:! cp B.hs B.hs-copy
:! touch -r B.hs B.hs-copy
:! echo "*** INVALID ***" >B.hs
:! touch -r B.hs-copy B.hs
:reload
-- Put the original file back, now it should work
:! cp B.hs-copy B.hs
:reload
I have no idea why GHCi would be trying to parse the !echo
, much less only on Darwin.
This is currently the last issue Darwin issue keeping us from setting allow_failure
to false so I'm going to mark this as broken.
Trac metadata
Trac field | Value |
---|---|
Version | 8.6.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | highest |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |