[GHC] #11468: testsuite should ignore config files

GHC ghc-devs at haskell.org
Thu Jan 21 01:56:45 UTC 2016


#11468: testsuite should ignore config files
-------------------------------------+-------------------------------------
           Reporter:  gridaphobe     |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Test Suite     |           Version:  8.1
           Keywords:  newcomer       |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 I always get a few test failures like the following.

 {{{
 =====> T9360a(normal) 1 of 3 [0, 0, 0]
 cd ./driver && "/Users/gridaphobe/Source/ghc/build/D1805/inplace/test
 spaces/ghc-stage2" --interactive -e ""    </dev/null > T9360a.run.stdout
 2> T9360a.run.stderr
 Actual stderr output differs from expected:
 --- /dev/null   2016-01-20 16:43:09.000000000 -0800
 +++ ./driver/T9360a.run.stderr.normalised       2016-01-20
 16:43:09.000000000 -0800
 @@ -0,0 +1,11 @@
 +cannot satisfy -package pretty-show
 +    (use -v for more information)
 +
 +<no location info>:
 +    Could not find module ‘Text.Show.Pretty’
 +    It is not a module in the current program, or in any known package.
 +
 +<interactive>:7:25:
 +    Variable not in scope: ppShow :: a -> String
 +
 +<interactive>:1:1: Not in scope: ‘pprint’
 \ No newline at end of file
 Actual stdout output differs from expected:
 }}}

 The failure is due to my `~/.ghci` file, which loads a few packages that
 ghc-head obviously hasn't built.

 The testsuite should ignore `~/.ghci` and any other user configuration
 files that might affect ghc.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11468>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list