summaryrefslogtreecommitdiff
path: root/testsuite/tests/hpc/Makefile
blob: 6dd6d8f8b8ddeb8d1ea2576feb77f72bd5f9ff59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
TOP=../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk

# Test that adding -fhpc triggers recompilation
T11798:
	"$(TEST_HC)" $(TEST_HC_ARGS) T11798
	"$(TEST_HC)" $(TEST_HC_ARGS) T11798 -fhpc
	test -e .hpc/T11798.mix

T17073:
	LANG=ASCII "$(TEST_HC)" $(TEST_HC_ARGS) T17073.hs -fhpc -v0
	./T17073
	"$(HPC)" report T17073
	"$(HPC)" version
	LANG=ASCII "$(HPC)" markup T17073

T20568:
	"$(TEST_HC)" $(TEST_HC_ARGS) T20568.hs -fhpc -v0
	./T20568