diff options
author | Austin Seipp <austin@well-typed.com> | 2013-12-04 22:33:19 -0600 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2013-12-04 22:34:18 -0600 |
commit | f783a6fc54cf6e837c40273884a2f5339bd504a4 (patch) | |
tree | c5e3f30f8014f4faf40d28ee0228146355fa0ca3 | |
parent | 381724bfd8941d96fb51a0aa8d9dc46d6e3b2b07 (diff) | |
download | haskell-f783a6fc54cf6e837c40273884a2f5339bd504a4.tar.gz |
Add new ghc-e/should_fail test suite
Also add a basic test for #7962.
Signed-off-by: Austin Seipp <austin@well-typed.com>
-rw-r--r-- | testsuite/tests/ghc-e/should_fail/Makefile | 6 | ||||
-rw-r--r-- | testsuite/tests/ghc-e/should_fail/all.T | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-e/should_fail/Makefile b/testsuite/tests/ghc-e/should_fail/Makefile new file mode 100644 index 0000000000..5b0d753817 --- /dev/null +++ b/testsuite/tests/ghc-e/should_fail/Makefile @@ -0,0 +1,6 @@ +TOP=../../.. +include $(TOP)/mk/boilerplate.mk +include $(TOP)/mk/test.mk + +T7962: + '$(TEST_HC)' $(TEST_HC_OPTS) -ignore-dot-ghci -e "return (" diff --git a/testsuite/tests/ghc-e/should_fail/all.T b/testsuite/tests/ghc-e/should_fail/all.T new file mode 100644 index 0000000000..4c5ac5cebd --- /dev/null +++ b/testsuite/tests/ghc-e/should_fail/all.T @@ -0,0 +1,3 @@ +setTestOpts(when(compiler_profiled(), skip)) + +test('T7962', [exit_code(2), req_interp, ignore_output], run_command, ['$MAKE --no-print-directory -s T7962']) |