[GHC] #11980: Testsuite: run each test in its own /tmp directory, after copying required files
GHC
ghc-devs at haskell.org
Tue May 17 16:03:11 UTC 2016
#11980: Testsuite: run each test in its own /tmp directory, after copying required
files
-------------------------------------+-------------------------------------
Reporter: thomie | Owner: thomie
Type: task | Status: patch
Priority: normal | Milestone: 8.2.1
Component: Test Suite | Version: 8.0.1
Resolution: | 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:"3f3dc23ea64573a12e2f4bfdaaa3aa536ad3188d/ghc" 3f3dc23/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="3f3dc23ea64573a12e2f4bfdaaa3aa536ad3188d"
Testsuite: run tests in /tmp after copying required files
Major change to the testsuite driver.
For each TEST:
* create a directory `<testdir>` inside `/tmp`.
* link/copy all source files that the test needs into `<testdir>`.
* run the test inside `<testdir>`.
* delete `<testdir>`
Extra files are (temporarily) tracked in
`testsuite/driver/extra_files.py`, but can also be specified using the
`extra_files` setup function.
Differential Revision: https://phabricator.haskell.org/D1187
Reviewed by: Rufflewind, bgamari
Trac: #11980
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11980#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list