[GHC] #15469: Validation doesn't play nicely on a shared computer

GHC ghc-devs at haskell.org
Thu Aug 2 20:25:34 UTC 2018


#15469: Validation doesn't play nicely on a shared computer
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Test Suite        |              Version:  8.4.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by thomie):

 Do you know which tests are writing to `/tmp/libraries`? haddock.base and
 haddock.Cabal?


 Possibly relevant commit (but I'm sure there is a better solution than
 reinstating this hack):
 https://git.haskell.org/ghc.git/blobdiff/e02beb1849416f5af8ec56acd17f37b5dc7c24a4..f72f23f9f6ff2914ec99fc86f67c89927f18ba47:/testsuite/driver/testlib.py
 {{{
 -    # Hack. A few tests depend on files in ancestor directories
 -    # (e.g. extra_files(['../../../../libraries/base/dist-
 install/haddock.t']))
 -    # Make sure tempdir is sufficiently "deep", such that copying/linking
 those
 -    # files won't cause any problems.
 -    #
 -    # If you received a framework failure about adding an extra level:
 -    #  * add one extra '../' to the startswith('../../../../../') in
 do_test
 -    #  * add one more number here:
 -    tempdir = os.path.join(tempdir, '1', '2', '3')
 }}}

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


More information about the ghc-tickets mailing list