From 65b35319225d66c5309078199e2f10f34ba59524 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Tue, 4 Jun 2013 19:13:29 +0100 Subject: Add a test for #7859 --- testsuite/tests/runghc/Makefile | 7 +++++++ testsuite/tests/runghc/T7859.stderr | 1 + testsuite/tests/runghc/all.T | 6 ++++++ 3 files changed, 14 insertions(+) create mode 100644 testsuite/tests/runghc/Makefile create mode 100644 testsuite/tests/runghc/T7859.stderr create mode 100644 testsuite/tests/runghc/all.T (limited to 'testsuite/tests/runghc') 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']) + -- cgit v1.2.1