Skip to content

Commit

Permalink
Update test make dependencies
Browse files Browse the repository at this point in the history
for efficient and correct multiprocessing
  • Loading branch information
naucke committed May 13, 2024
1 parent e3bb296 commit 3adb92c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FAIL_MAIN=AllFailTests
.PHONY : default allTests print-fail fail compare golden \
html renderTranslations clean force-recompile

default : allTests fail compare
default : compare

build/%.hs : %.agda *.agda Fail/*.agda Cubical/*.agda
@echo == Compiling tests ==
Expand All @@ -21,11 +21,11 @@ print-fail :

fail : print-fail $(patsubst Fail/%.agda,build/%.err,$(wildcard Fail/*.agda))

build/%.err : Fail/%.agda force-recompile allTests
build/%.err : Fail/%.agda force-recompile
@echo Compiling $<
@($(AGDA2HS) $< -o build -v0 && echo "UNEXPECTED SUCCESS" || true) | sed -e 's:'$(ROOT)'::g' > $@

compare : fail
compare : allTests fail
@echo == Comparing output ==
@diff -r build golden

Expand Down

0 comments on commit 3adb92c

Please sign in to comment.