Skip to content

Commit

Permalink
[ Makefile ] add fast-succeed target (like fast-fail)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasabel committed May 15, 2024
1 parent c78bfb0 commit 4d36b76
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,13 @@ succeed :
AGDA_BIN=$(AGDA_BIN) $(AGDA_TESTS_BIN) $(AGDA_TESTS_OPTIONS) --regex-include all/Succeed ; \
rm test/Succeed/exec-tc/executables )

.PHONY : fast-succeed ##
fast-succeed :
@$(call decorate, "Suite of successful tests (using agda-fast)", \
echo $(shell which $(AGDA_FAST_BIN)) > test/Succeed/exec-tc/executables && \
AGDA_FAST_BIN=$(AGDA_FAST_BIN) $(AGDA_FAST_TESTS_BIN) $(AGDA_TESTS_OPTIONS) --regex-include all/Succeed ; \
rm test/Succeed/exec-tc/executables )

.PHONY : fail ##
fail :
@$(call decorate, "Suite of failing tests", \
Expand Down

0 comments on commit 4d36b76

Please sign in to comment.