[GHC] #11980: Testsuite: run each test in its own /tmp directory, after copying required files
GHC
ghc-devs at haskell.org
Sat Jun 18 10:48:36 UTC 2016
#11980: Testsuite: run each test in its own /tmp directory, after copying required
files
-------------------------------------+-------------------------------------
Reporter: thomie | Owner: thomie
Type: task | Status: closed
Priority: normal | Milestone: 8.2.1
Component: Test Suite | Version: 8.0.1
Resolution: fixed | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D1187
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Thomas Miedema <thomasmiedema@…>):
In [changeset:"f72f23f9f6ff2914ec99fc86f67c89927f18ba47/ghc" f72f23f/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="f72f23f9f6ff2914ec99fc86f67c89927f18ba47"
Testsuite: run tests in <testdir>.run instead of /tmp
As discussed in Phab:D1187, this approach makes it a bit easier to
inspect the test directory while working on a new test.
The only tests that needed changes are the ones that refer to files in
ancestor directories. Those files are now copied directly into the test
directory.
validate still runs the tests in a temporary directory in /tmp, see
`Note [Running tests in /tmp]` in testsuite/driver/runtests.py.
Update submodule hpc.
Reviewed by: simonmar
Differential Revision: https://phabricator.haskell.org/D2333
GHC Trac Issues: #11980
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11980#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list