https://gitlab.com/nomadic-labs/mi-cho-coq
Raw File
Tip revision: 7a7a1aa403201894461c5ff40ae9fee67be399f3 authored by Raphaƫl Cauderlier on 31 May 2021, 22:11:03 UTC
[michocoq] Redefine set.remove so that it computes
Tip revision: 7a7a1aa
Makefile.local

## Tests:

## To run the regression test suite, call `make test`; to regenerate
## regression traces, call `make RESET_REGRESSION=true test`

MICHOCOQ=src/michocoq/extraction/michocoq.native

RESET_REGRESSION=false

TESTS=$(wildcard src/contracts/testsuite/*/*.tz)

TESTS_RESULTS=$(TESTS:.tz=.tz.res)

%.tz.res: %.tz
	$(MICHOCOQ) "$$(cat $<)" > $*.tz.res
ifeq ($(RESET_REGRESSION),true)
	@cp $*.tz.res $*.tz.expected
else
	@diff $*.tz.res $*.tz.expected
endif

test: all $(TESTS_RESULTS)
	@rm $(TESTS_RESULTS)
back to top