summaryrefslogtreecommitdiff
path: root/validate
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2016-06-15 16:57:05 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2016-06-18 12:46:05 +0200
commitf72f23f9f6ff2914ec99fc86f67c89927f18ba47 (patch)
tree7389733b86a221d9007f8fd17c30ffaaec55fc2e /validate
parente02beb1849416f5af8ec56acd17f37b5dc7c24a4 (diff)
downloadhaskell-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-xvalidate3
1 files changed, 2 insertions, 1 deletions
diff --git a/validate b/validate
index ff515646f6..3efaf3aeed 100755
--- a/validate
+++ b/validate
@@ -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