summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/T16608/Makefile
blob: 7cec19026bc66cac46b09bfec7d158cbffdf9e05 (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

T16608_1:
	'$(TEST_HC)' $(TEST_HC_OPTS) --make -O0 T16608_1.hs
	./T16608_1
	sleep 1
	sed -i -e 's/{- . succ -}/. succ/' MyInteger.hs
	'$(TEST_HC)' $(TEST_HC_OPTS) --make -O0 T16608_1.hs
	./T16608_1

T16608_2:
	'$(TEST_HC)' $(TEST_HC_OPTS) --make -O0 T16608_2.hs
	./T16608_2
	sleep 1
	sed -i -e 's/{- . succ -}/. succ/' MyInteger.hs
	'$(TEST_HC)' $(TEST_HC_OPTS) --make -O0 T16608_2.hs
	./T16608_2