[GHC] #15071: :set usage in ghci tests breaks platform independence of output
GHC
ghc-devs at haskell.org
Fri Apr 20 17:18:25 UTC 2018
#15071: :set usage in ghci tests breaks platform independence of output
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner: (none)
Type: bug | Status: new
Priority: high | Milestone: 8.6.1
Component: Test Suite | Version: 8.2.2
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
Numerous GHCi tests are currently failing on Windows due to the use of
`:set`, which prints the default flag set, which is platform dependent.
For instance:
{{{
--- "/tmp/ghctest-eo_ri0ye/test
spaces/./ghci/scripts/ghci024.run/ghci024.stdout.normalised" 2018-04-19
18:35:50.927278200 +0000
+++ "/tmp/ghctest-eo_ri0ye/test
spaces/./ghci/scripts/ghci024.run/ghci024.run.stdout.normalised"
2018-04-19 18:35:50.927278200 +0000
@@ -7,7 +7,6 @@
GHCi-specific dynamic flag settings:
other dynamic, non-language, flag settings:
-fno-diagnostics-show-caret
- -fexternal-dynamic-refs
-fignore-optim-changes
-fignore-hpc-changes
-fno-ghci-history
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15071>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list