Modify a couple of error messages slightly
[ghc.git] / testsuite / tests / gadt / Makefile
1 TOP=../..
2 include $(TOP)/mk/boilerplate.mk
3 include $(TOP)/mk/test.mk
4
5 .PHONY: gadt17 gadt23
6
7 # A mulit-module test that made GHC 6.4.1 crash
8 gadt17:
9 @$(RM) gadt17.hi Gadt17_help.hi
10 @$(RM) A$(OBJSUFFIX)
11 '$(TEST_HC)' $(TEST_HC_OPTS) -c Gadt17_help.hs
12 '$(TEST_HC)' $(TEST_HC_OPTS) -c gadt17.hs
13
14 T7321:
15 @$(RM) T7321a.hi T7321.hi
16 '$(TEST_HC)' $(TEST_HC_OPTS) -c T7321a.hs
17 '$(TEST_HC)' $(TEST_HC_OPTS) -c T7321.hs
18
19 gadt23:
20 $(RM) gadt23 gadt23.hi gadt23.o Gadt23_AST.hi Gadt23_AST.o
21 '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make gadt23.hs
22 # We want to "touch gadt23.hs" really, but we then have issues with
23 # everything happening in the same second so the touch having no
24 # effect. Thus make gadt23.hi/o older instead.
25 touch -t 01010000 gadt23.hi gadt23.o
26 '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make gadt23.hs
27