blob: a5bff9936d27b028b4422ff208b93515a261a99f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
TOP=../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
# Recompilation tests
clean:
rm -f *.o *.hi
rm -f B.hs C
# 001: removing an export should force a recompile of dependent modules.
# failed in GHC 6.4.
recomp001: clean
cp B1.hs B.hs
'$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 C.hs
sleep 1
cp B2.hs B.hs
-'$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 C.hs
|