[commit: testsuite] master: Add new ghc-e/should_fail test suite (69f6072)
git at git.haskell.org
git at git.haskell.org
Thu Dec 5 04:34:56 UTC 2013
Repository : ssh://git@git.haskell.org/testsuite
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/69f60722eabcce8283a4270b8d3aff712c8d462a/testsuite
>---------------------------------------------------------------
commit 69f60722eabcce8283a4270b8d3aff712c8d462a
Author: Austin Seipp <austin at well-typed.com>
Date: Wed Dec 4 22:33:19 2013 -0600
Add new ghc-e/should_fail test suite
Also add a basic test for #7962.
Signed-off-by: Austin Seipp <austin at well-typed.com>
>---------------------------------------------------------------
69f60722eabcce8283a4270b8d3aff712c8d462a
tests/{cabal/pkg02 => ghc-e/should_fail}/Makefile | 2 ++
tests/ghc-e/should_fail/all.T | 3 +++
2 files changed, 5 insertions(+)
diff --git a/tests/cabal/pkg02/Makefile b/tests/ghc-e/should_fail/Makefile
similarity index 51%
copy from tests/cabal/pkg02/Makefile
copy to tests/ghc-e/should_fail/Makefile
index 4a26853..5b0d753 100644
--- a/tests/cabal/pkg02/Makefile
+++ b/tests/ghc-e/should_fail/Makefile
@@ -2,3 +2,5 @@ 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/tests/ghc-e/should_fail/all.T b/tests/ghc-e/should_fail/all.T
new file mode 100644
index 0000000..4c5ac5c
--- /dev/null
+++ b/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'])
More information about the ghc-commits
mailing list