[commit: ghc] master: Testsuite: run tests in /tmp after copying required files (3f3dc23)
git at git.haskell.org
git at git.haskell.org
Tue May 17 16:03:21 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/3f3dc23ea64573a12e2f4bfdaaa3aa536ad3188d/ghc
>---------------------------------------------------------------
commit 3f3dc23ea64573a12e2f4bfdaaa3aa536ad3188d
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date: Sat Aug 29 15:52:43 2015 +0200
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
>---------------------------------------------------------------
3f3dc23ea64573a12e2f4bfdaaa3aa536ad3188d
testsuite/driver/extra_files.py | 535 +++++++++++++++++++++++++
testsuite/driver/runtests.py | 30 +-
testsuite/driver/testglobals.py | 3 +
testsuite/driver/testlib.py | 151 ++++++-
testsuite/driver/testutil.py | 32 ++
testsuite/tests/plugins/all.T | 17 +-
testsuite/tests/simplCore/should_compile/all.T | 2 +-
7 files changed, 743 insertions(+), 27 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 3f3dc23ea64573a12e2f4bfdaaa3aa536ad3188d
More information about the ghc-commits
mailing list