diff options
Diffstat (limited to 'testsuite/tests/ghc-e')
-rw-r--r-- | testsuite/tests/ghc-e/should_run/Makefile | 4 | ||||
-rw-r--r-- | testsuite/tests/ghc-e/should_run/T11478.script | 0 | ||||
-rw-r--r-- | testsuite/tests/ghc-e/should_run/T11478.stdout | 1 | ||||
-rw-r--r-- | testsuite/tests/ghc-e/should_run/all.T | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-e/should_run/Makefile b/testsuite/tests/ghc-e/should_run/Makefile index 54ce8a31cc..c98b98ada7 100644 --- a/testsuite/tests/ghc-e/should_run/Makefile +++ b/testsuite/tests/ghc-e/should_run/Makefile @@ -41,3 +41,7 @@ T9905: T9905b: '$(TEST_HC)' $(TEST_HC_OPTS) -ignore-dot-ghci -e "import qualified Data.List as L" -e "L.sort [2,1]" + +# Ensure that ghc -e does not output extra messages about GHCi configuration files +T11478: + '$(TEST_HC)' $(TEST_HC_OPTS) -ignore-dot-ghci -ghci-script T11478.script -e 3 diff --git a/testsuite/tests/ghc-e/should_run/T11478.script b/testsuite/tests/ghc-e/should_run/T11478.script new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/testsuite/tests/ghc-e/should_run/T11478.script diff --git a/testsuite/tests/ghc-e/should_run/T11478.stdout b/testsuite/tests/ghc-e/should_run/T11478.stdout new file mode 100644 index 0000000000..00750edc07 --- /dev/null +++ b/testsuite/tests/ghc-e/should_run/T11478.stdout @@ -0,0 +1 @@ +3 diff --git a/testsuite/tests/ghc-e/should_run/all.T b/testsuite/tests/ghc-e/should_run/all.T index dcb720723d..ae286538cc 100644 --- a/testsuite/tests/ghc-e/should_run/all.T +++ b/testsuite/tests/ghc-e/should_run/all.T @@ -16,3 +16,4 @@ test('T7299', req_interp, run_command, ['$MAKE --no-print-directory -s T7299']) test('T9086', req_interp, run_command, ['$MAKE --no-print-directory -s T9086']) test('T9905', req_interp, run_command, ['$MAKE --no-print-directory -s T9905']) test('T9905b', req_interp, run_command, ['$MAKE --no-print-directory -s T9905b']) +test('T11478', req_interp, run_command, ['$MAKE --no-print-directory -s T11478']) |