summaryrefslogtreecommitdiff
path: root/testsuite/tests/runghc
diff options
context:
space:
mode:
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'])
+