summaryrefslogtreecommitdiff
path: root/testsuite/tests/determinism/determ015/Makefile
blob: 4ba32f0e026a469222700d90d57dd530475ff312 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
TOP=../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk

TEST_HC_OPTS_NO_RECOMP = $(filter-out -fforce-recomp,$(TEST_HC_OPTS))

determ015:
	$(RM) A.hi A.o
	'$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -dinitial-unique=0 -dunique-increment=1 -O A.hs
	$(CP) A.hi A.normal.hi
	$(RM) A.hi A.o
	'$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -dinitial-unique=16777215 -dunique-increment=-1 -O A.hs
	diff A.hi A.normal.hi