Test #13585 in typecheck/should_compile/T13585
[ghc.git] / testsuite / tests / typecheck / should_compile / Makefile
1 TOP=../../..
2 include $(TOP)/mk/boilerplate.mk
3 include $(TOP)/mk/test.mk
4
5 tc170:
6 $(RM) Tc170_Aux.hi Tc170_Aux.o tc170.hi tc170.o
7 '$(TEST_HC)' $(TEST_HC_OPTS) -c Tc170_Aux.hs
8 '$(TEST_HC)' $(TEST_HC_OPTS) -c tc170.hs
9
10 tc173:
11 $(RM) Tc173a.o Tc173a.hi Tc173b.o Tc173b.hi
12 '$(TEST_HC)' $(TEST_HC_OPTS) -c Tc173a.hs
13 '$(TEST_HC)' $(TEST_HC_OPTS) -c Tc173b.hs
14
15 T2412:
16 $(RM) -f T2412.hi-boot T2412.o-boot T2412A.hi T2412A.o T2412.hi T2412.o
17 '$(TEST_HC)' $(TEST_HC_OPTS) -c T2412.hs-boot
18 '$(TEST_HC)' $(TEST_HC_OPTS) -c T2412A.hs
19 '$(TEST_HC)' $(TEST_HC_OPTS) -c T2412.hs
20
21 tc245:
22 $(RM) -f Tc245_A.hi Tc245_A.o tc245.hi tc245.o
23 '$(TEST_HC)' $(TEST_HC_OPTS) --make tc245
24 $(RM) -f tc245.hi tc245.o
25 '$(TEST_HC)' $(TEST_HC_OPTS) --make tc245
26
27 # Trac #5792 gave an error on the second compilation,
28 # presumably because of the .hi file
29 T5792:
30 $(RM) -f T5792.o T5792.hi
31 '$(TEST_HC)' $(TEST_HC_OPTS) -c T5792.hs
32 '$(TEST_HC)' $(TEST_HC_OPTS) -c T5792.hs -fforce-recomp
33
34 T7171:
35 $(RM) -f T7171.hi-boot T7171.o-boot T7171a.hi T7171a.o
36 '$(TEST_HC)' $(TEST_HC_OPTS) -c T7171a.hs
37 '$(TEST_HC)' $(TEST_HC_OPTS) -c T7171.hs
38
39 # I got this one from a infinite loop during validate
40 tc266:
41 $(RM) -f Tc266.hi-boot Tc266.o-boot Tc266a.hi Tc266a.o Tc266.hi Tc266.o
42 '$(TEST_HC)' $(TEST_HC_OPTS) -c Tc266.hs-boot
43 '$(TEST_HC)' $(TEST_HC_OPTS) -c Tc266a.hs
44 '$(TEST_HC)' $(TEST_HC_OPTS) -c Tc266.hs
45
46 Tc267:
47 $(RM) -f Tc267a.hi-boot Tc267a.o-boot Tc267b.hi-boot Tc267b.o-boot
48 $(RM) -f Tc267a.hi Tc267a.o Tc267b.hi Tc267b.o
49 '$(TEST_HC)' $(TEST_HC_OPTS) -c Tc267a.hs-boot
50 '$(TEST_HC)' $(TEST_HC_OPTS) -c Tc267b.hs-boot
51 '$(TEST_HC)' $(TEST_HC_OPTS) -c Tc267a.hs
52 '$(TEST_HC)' $(TEST_HC_OPTS) -c Tc267b.hs
53
54 Tc271:
55 $(RM) -f Tc271.hi-boot Tc271.o-boot Tc271a.hi Tc271a.o Tc271.hi Tc271.o
56 '$(TEST_HC)' $(TEST_HC_OPTS) -c Tc271.hs-boot
57 '$(TEST_HC)' $(TEST_HC_OPTS) -c Tc271a.hs
58 '$(TEST_HC)' $(TEST_HC_OPTS) -c Tc271.hs
59
60 T13585:
61 $(RM) -f T13585a.o T13585a.hi T13585b.o T13585b.hi T13585.o T13585.hi
62 '$(TEST_HC)' $(TEST_HC_OPTS) -c T13585a.hs -O
63 '$(TEST_HC)' $(TEST_HC_OPTS) -c T13585b.hs -O
64 '$(TEST_HC)' $(TEST_HC_OPTS) -c T13585.hs -O