summaryrefslogtreecommitdiff
path: root/testsuite/tests/runghc
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-06-04 19:13:29 +0100
committerIan Lynagh <ian@well-typed.com>2013-06-04 19:13:29 +0100
commit65b35319225d66c5309078199e2f10f34ba59524 (patch)
tree6f77b60a13ea41322b739621cfa0d1da7e445a42 /testsuite/tests/runghc
parent5b08752e240751274ef205c485163c9587dd0a18 (diff)
downloadhaskell-65b35319225d66c5309078199e2f10f34ba59524.tar.gz
Add a test for #7859
Diffstat (limited to 'testsuite/tests/runghc')
-rw-r--r--testsuite/tests/runghc/Makefile7
-rw-r--r--testsuite/tests/runghc/T7859.stderr1
-rw-r--r--testsuite/tests/runghc/all.T6
3 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/tests/runghc/Makefile b/testsuite/tests/runghc/Makefile
new file mode 100644
index 0000000000..de374d5c97
--- /dev/null
+++ b/testsuite/tests/runghc/Makefile
@@ -0,0 +1,7 @@
+TOP=../..
+include $(TOP)/mk/boilerplate.mk
+include $(TOP)/mk/test.mk
+
+T7859:
+ -'$(RUNGHC)' -fdefer-type-errors T7859.hs
+
diff --git a/testsuite/tests/runghc/T7859.stderr b/testsuite/tests/runghc/T7859.stderr
new file mode 100644
index 0000000000..f784874848
--- /dev/null
+++ b/testsuite/tests/runghc/T7859.stderr
@@ -0,0 +1 @@
+runghc: defer-type-errors: rawSystem: runInteractiveProcess: exec: does not exist (No such file or directory)
diff --git a/testsuite/tests/runghc/all.T b/testsuite/tests/runghc/all.T
new file mode 100644
index 0000000000..e7a56129f3
--- /dev/null
+++ b/testsuite/tests/runghc/all.T
@@ -0,0 +1,6 @@
+
+setTestOpts(when(compiler_profiled(), skip))
+
+test('T7859', req_interp, run_command,
+ ['$MAKE --no-print-directory -s T7859'])
+