Skip to content

Commit 4c750c6

Browse files
nauckejespercockx
authored andcommitted
Rebuild test files when appropriate
- Rebuild positive also upon new `agda2hs` binary - Rebuild negative on new `agda2hs` binary, removing `force-recompile`
1 parent 1e2559a commit 4c750c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: test/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ FAIL_MAIN=AllFailTests
88

99
default : compare
1010

11-
build/%.hs : %.agda *.agda Fail/*.agda Cubical/*.agda
11+
build/%.hs : %.agda *.agda Fail/*.agda Cubical/*.agda agda2hs
1212
@echo == Compiling tests ==
1313
$(AGDA2HS) $< -o build
1414

@@ -21,7 +21,7 @@ print-fail :
2121

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

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

0 commit comments

Comments
 (0)