summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/Defer02.script
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 /testsuite/tests/ghci/scripts/Defer02.script
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 'testsuite/tests/ghci/scripts/Defer02.script')
-rwxr-xr-xtestsuite/tests/ghci/scripts/Defer02.script4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/ghci/scripts/Defer02.script b/testsuite/tests/ghci/scripts/Defer02.script
index 3fc6aff5b0..3ff0bee911 100755
--- a/testsuite/tests/ghci/scripts/Defer02.script
+++ b/testsuite/tests/ghci/scripts/Defer02.script
@@ -1,6 +1,6 @@
-- Test -fwarn-type-errors
-- This test shows how each error is printed at runtime
-:l ../../typecheck/should_run/Defer01
+:l Defer01
t5624
print a
print (b B)
@@ -11,4 +11,4 @@ print (h ())
print (i ())
print j
print (k 2)
-l \ No newline at end of file
+l