Makefile 655 Bytes
Newer Older
1 2 3 4 5
TOP=../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk

T7962:
6
	-'$(TEST_HC)' $(TEST_HC_OPTS) -ignore-dot-ghci -e "return ("
7 8

T9905fail1:
9
	-'$(TEST_HC)' $(TEST_HC_OPTS) -ignore-dot-ghci -e "import This.Module.Does.Not.Exist"
10 11

T9905fail2:
12
	-'$(TEST_HC)' $(TEST_HC_OPTS) -ignore-dot-ghci -e "import Data.List (bogusIdentifier)"
13 14

T9905fail3:
15
	-'$(TEST_HC)' $(TEST_HC_OPTS) -ignore-dot-ghci -e "import Prelude (+)" # syntax error
16 17

ghc-e-fail1:
18
	-'$(TEST_HC)' $(TEST_HC_OPTS) -ignore-dot-ghci -e "class ["
19 20

ghc-e-fail2:
21
	-'$(TEST_HC)' $(TEST_HC_OPTS) -ignore-dot-ghci -e "type A = A"
22 23

T9930fail:
24
	-'$(TEST_HC)' $(TEST_HC_OPTS) -v0 -x hs T9930