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