Testsuite: run tests in <testdir>.run instead of /tmp
authorThomas Miedema <thomasmiedema@gmail.com>
Wed, 15 Jun 2016 14:57:05 +0000 (16:57 +0200)
committerThomas Miedema <thomasmiedema@gmail.com>
Sat, 18 Jun 2016 10:46:05 +0000 (12:46 +0200)
commitf72f23f9f6ff2914ec99fc86f67c89927f18ba47
tree7389733b86a221d9007f8fd17c30ffaaec55fc2e
parente02beb1849416f5af8ec56acd17f37b5dc7c24a4
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
81 files changed:
.gitignore
libraries/hpc
testsuite/config/ghc
testsuite/driver/runtests.py
testsuite/driver/testglobals.py
testsuite/driver/testlib.py
testsuite/mk/test.mk
testsuite/tests/ghci.debugger/scripts/all.T
testsuite/tests/ghci.debugger/scripts/break001.script
testsuite/tests/ghci.debugger/scripts/break001.stdout
testsuite/tests/ghci.debugger/scripts/break002.script
testsuite/tests/ghci.debugger/scripts/break003.script
testsuite/tests/ghci.debugger/scripts/break003.stdout
testsuite/tests/ghci.debugger/scripts/break004.script
testsuite/tests/ghci.debugger/scripts/break005.script
testsuite/tests/ghci.debugger/scripts/break005.stdout
testsuite/tests/ghci.debugger/scripts/break006.script
testsuite/tests/ghci.debugger/scripts/break006.stdout
testsuite/tests/ghci.debugger/scripts/break008.script
testsuite/tests/ghci.debugger/scripts/break008.stdout
testsuite/tests/ghci.debugger/scripts/break009.script
testsuite/tests/ghci.debugger/scripts/break009.stdout
testsuite/tests/ghci.debugger/scripts/break010.script
testsuite/tests/ghci.debugger/scripts/break010.stdout
testsuite/tests/ghci.debugger/scripts/break011.script
testsuite/tests/ghci.debugger/scripts/break011.stdout
testsuite/tests/ghci.debugger/scripts/break017.script
testsuite/tests/ghci.debugger/scripts/break017.stdout
testsuite/tests/ghci.debugger/scripts/break018.script
testsuite/tests/ghci.debugger/scripts/break018.stdout
testsuite/tests/ghci.debugger/scripts/break019.script
testsuite/tests/ghci.debugger/scripts/break027.script
testsuite/tests/ghci.debugger/scripts/break027.stdout
testsuite/tests/ghci.debugger/scripts/dynbrk001.script
testsuite/tests/ghci.debugger/scripts/dynbrk002.script
testsuite/tests/ghci.debugger/scripts/dynbrk002.stdout
testsuite/tests/ghci.debugger/scripts/dynbrk004.script
testsuite/tests/ghci.debugger/scripts/dynbrk004.stdout
testsuite/tests/ghci.debugger/scripts/getargs.script
testsuite/tests/ghci.debugger/scripts/getargs.stdout
testsuite/tests/ghci.debugger/scripts/hist001.script
testsuite/tests/ghci.debugger/scripts/hist001.stdout
testsuite/tests/ghci.debugger/scripts/listCommand001.script
testsuite/tests/ghci.debugger/scripts/print002.script
testsuite/tests/ghci.debugger/scripts/print003.script
testsuite/tests/ghci.debugger/scripts/print005.script
testsuite/tests/ghci.debugger/scripts/print005.stdout
testsuite/tests/ghci.debugger/scripts/print006.script
testsuite/tests/ghci.debugger/scripts/print007.script
testsuite/tests/ghci.debugger/scripts/print008.script
testsuite/tests/ghci.debugger/scripts/print010.script
testsuite/tests/ghci.debugger/scripts/print011.script
testsuite/tests/ghci.debugger/scripts/print012.script
testsuite/tests/ghci.debugger/scripts/print013.script
testsuite/tests/ghci.debugger/scripts/print014.script
testsuite/tests/ghci.debugger/scripts/print016.script
testsuite/tests/ghci.debugger/scripts/print017.script
testsuite/tests/ghci.debugger/scripts/print018.script
testsuite/tests/ghci.debugger/scripts/print018.stdout
testsuite/tests/ghci.debugger/scripts/print019.script
testsuite/tests/ghci.debugger/scripts/print020.script
testsuite/tests/ghci.debugger/scripts/print020.stdout
testsuite/tests/ghci.debugger/scripts/print023.script
testsuite/tests/ghci.debugger/scripts/print024.script
testsuite/tests/ghci.debugger/scripts/print034.script
testsuite/tests/ghci.debugger/scripts/print035.script
testsuite/tests/ghci/prog001/prog001.script
testsuite/tests/ghci/prog002/prog002.script
testsuite/tests/ghci/prog003/prog003.script
testsuite/tests/ghci/prog010/ghci.prog010.script
testsuite/tests/ghci/prog012/prog012.script
testsuite/tests/ghci/scripts/Defer02.script
testsuite/tests/ghci/scripts/Defer02.stderr
testsuite/tests/ghci/scripts/T6106.script
testsuite/tests/ghci/scripts/ghci026.script
testsuite/tests/ghci/scripts/ghci038.script
testsuite/tests/ghci/scripts/ghci058.script
testsuite/tests/perf/haddock/all.T
testsuite/tests/perf/should_run/all.T
testsuite/tests/rts/all.T
validate