[commit: ghc] master: Testsuite: run tests in <testdir>.run instead of /tmp (f72f23f)

git at git.haskell.org git at git.haskell.org
Sat Jun 18 10:48:45 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/f72f23f9f6ff2914ec99fc86f67c89927f18ba47/ghc

>---------------------------------------------------------------

commit f72f23f9f6ff2914ec99fc86f67c89927f18ba47
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Wed Jun 15 16:57:05 2016 +0200

    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


>---------------------------------------------------------------

f72f23f9f6ff2914ec99fc86f67c89927f18ba47
 .gitignore                                         |  3 +
 libraries/hpc                                      |  2 +-
 testsuite/config/ghc                               |  1 -
 testsuite/driver/runtests.py                       | 50 ++++++++++++++-
 testsuite/driver/testglobals.py                    |  6 ++
 testsuite/driver/testlib.py                        | 48 ++++++---------
 testsuite/mk/test.mk                               | 15 ++++-
 testsuite/tests/ghci.debugger/scripts/all.T        |  4 +-
 .../tests/ghci.debugger/scripts/break001.script    |  2 +-
 .../tests/ghci.debugger/scripts/break001.stdout    |  8 +--
 .../tests/ghci.debugger/scripts/break002.script    |  2 +-
 .../tests/ghci.debugger/scripts/break003.script    |  2 +-
 .../tests/ghci.debugger/scripts/break003.stdout    |  4 +-
 .../tests/ghci.debugger/scripts/break004.script    |  2 +-
 .../tests/ghci.debugger/scripts/break005.script    |  2 +-
 .../tests/ghci.debugger/scripts/break005.stdout    |  4 +-
 .../tests/ghci.debugger/scripts/break006.script    |  2 +-
 .../tests/ghci.debugger/scripts/break006.stdout    |  2 +-
 .../tests/ghci.debugger/scripts/break008.script    |  4 +-
 .../tests/ghci.debugger/scripts/break008.stdout    |  4 +-
 .../tests/ghci.debugger/scripts/break009.script    |  4 +-
 .../tests/ghci.debugger/scripts/break009.stdout    |  4 +-
 .../tests/ghci.debugger/scripts/break010.script    |  2 +-
 .../tests/ghci.debugger/scripts/break010.stdout    |  6 +-
 .../tests/ghci.debugger/scripts/break011.script    |  2 +-
 .../tests/ghci.debugger/scripts/break011.stdout    | 22 +++----
 .../tests/ghci.debugger/scripts/break017.script    |  2 +-
 .../tests/ghci.debugger/scripts/break017.stdout    |  2 +-
 .../tests/ghci.debugger/scripts/break018.script    |  2 +-
 .../tests/ghci.debugger/scripts/break018.stdout    |  6 +-
 .../tests/ghci.debugger/scripts/break019.script    |  2 +-
 .../tests/ghci.debugger/scripts/break027.script    |  2 +-
 .../tests/ghci.debugger/scripts/break027.stdout    |  6 +-
 .../tests/ghci.debugger/scripts/dynbrk001.script   |  2 +-
 .../tests/ghci.debugger/scripts/dynbrk002.script   |  2 +-
 .../tests/ghci.debugger/scripts/dynbrk002.stdout   |  4 +-
 .../tests/ghci.debugger/scripts/dynbrk004.script   |  2 +-
 .../tests/ghci.debugger/scripts/dynbrk004.stdout   |  8 +--
 .../tests/ghci.debugger/scripts/getargs.script     |  2 +-
 .../tests/ghci.debugger/scripts/getargs.stdout     |  2 +-
 .../tests/ghci.debugger/scripts/hist001.script     |  2 +-
 .../tests/ghci.debugger/scripts/hist001.stdout     | 24 ++++----
 .../ghci.debugger/scripts/listCommand001.script    |  2 +-
 .../tests/ghci.debugger/scripts/print002.script    |  2 +-
 .../tests/ghci.debugger/scripts/print003.script    |  2 +-
 .../tests/ghci.debugger/scripts/print005.script    |  2 +-
 .../tests/ghci.debugger/scripts/print005.stdout    |  6 +-
 .../tests/ghci.debugger/scripts/print006.script    |  2 +-
 .../tests/ghci.debugger/scripts/print007.script    |  6 +-
 .../tests/ghci.debugger/scripts/print008.script    |  2 +-
 .../tests/ghci.debugger/scripts/print010.script    |  2 +-
 .../tests/ghci.debugger/scripts/print011.script    |  2 +-
 .../tests/ghci.debugger/scripts/print012.script    |  4 +-
 .../tests/ghci.debugger/scripts/print013.script    |  2 +-
 .../tests/ghci.debugger/scripts/print014.script    |  2 +-
 .../tests/ghci.debugger/scripts/print016.script    |  2 +-
 .../tests/ghci.debugger/scripts/print017.script    |  2 +-
 .../tests/ghci.debugger/scripts/print018.script    |  2 +-
 .../tests/ghci.debugger/scripts/print018.stdout    |  4 +-
 .../tests/ghci.debugger/scripts/print019.script    |  2 +-
 .../tests/ghci.debugger/scripts/print020.script    |  2 +-
 .../tests/ghci.debugger/scripts/print020.stdout    | 30 ++++-----
 .../tests/ghci.debugger/scripts/print023.script    |  2 +-
 .../tests/ghci.debugger/scripts/print024.script    |  2 +-
 .../tests/ghci.debugger/scripts/print034.script    |  4 +-
 .../tests/ghci.debugger/scripts/print035.script    |  2 +-
 testsuite/tests/ghci/prog001/prog001.script        |  2 +-
 testsuite/tests/ghci/prog002/prog002.script        |  2 +-
 testsuite/tests/ghci/prog003/prog003.script        |  2 +-
 testsuite/tests/ghci/prog010/ghci.prog010.script   |  2 +-
 testsuite/tests/ghci/prog012/prog012.script        |  2 +-
 testsuite/tests/ghci/scripts/Defer02.script        |  2 +-
 testsuite/tests/ghci/scripts/Defer02.stderr        | 72 +++++++++++-----------
 testsuite/tests/ghci/scripts/T6106.script          |  2 +-
 testsuite/tests/ghci/scripts/ghci026.script        |  4 +-
 testsuite/tests/ghci/scripts/ghci038.script        |  2 +-
 testsuite/tests/ghci/scripts/ghci058.script        |  2 +-
 testsuite/tests/perf/haddock/all.T                 |  6 +-
 testsuite/tests/perf/should_run/all.T              |  2 +-
 testsuite/tests/rts/all.T                          |  2 +-
 validate                                           |  3 +-
 81 files changed, 263 insertions(+), 211 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 f72f23f9f6ff2914ec99fc86f67c89927f18ba47


More information about the ghc-commits mailing list