diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2016-06-15 16:57:05 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2016-06-18 12:46:05 +0200 |
commit | f72f23f9f6ff2914ec99fc86f67c89927f18ba47 (patch) | |
tree | 7389733b86a221d9007f8fd17c30ffaaec55fc2e /validate | |
parent | e02beb1849416f5af8ec56acd17f37b5dc7c24a4 (diff) | |
download | haskell-f72f23f9f6ff2914ec99fc86f67c89927f18ba47.tar.gz |
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
Diffstat (limited to 'validate')
-rwxr-xr-x | validate | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -269,7 +269,8 @@ if [ $be_quiet -eq 1 ] && [ -z $VERBOSE ]; then TEST_VERBOSITY="VERBOSE=1 NO_PRINT_SUMMARY=YES" fi -$make $MAKE_TEST_TARGET stage=2 $BINDIST $TEST_VERBOSITY THREADS=$threads 2>&1 | tee testlog +# Use LOCAL=0, see Note [Running tests in /tmp]. +$make $MAKE_TEST_TARGET stage=2 $BINDIST LOCAL=0 $TEST_VERBOSITY THREADS=$threads 2>&1 | tee testlog check_packages post-testsuite |