Commit 0ea6c627 authored by Ralf Jung's avatar Ralf Jung

Mac's diff seems to be from the last century and can't do colors. Oh well.

parent c07c52fc
......@@ -12,7 +12,7 @@ $(TESTFILES:.v=.vo): %.vo: %.v $(VFILES:.v=.vo)
$(HIDE)TEST="$$(basename -s .v $<)" && \
TMPFILE="$$(mktemp)" && \
$(TIMER) $(COQC) $(COQDEBUG) $(TIMING_ARG) $(COQFLAGS) $(COQLIBS) $< $(TIMING_EXTRA) > "$$TMPFILE" && \
(diff --color=auto -u "tests/$$TEST.ref" "$$TMPFILE" || (rm "tests/$$TEST.vo" "$$TMPFILE" && exit 1)) && \
(diff -u "tests/$$TEST.ref" "$$TMPFILE" || (rm "tests/$$TEST.vo" "$$TMPFILE" && exit 1)) && \
rm "$$TMPFILE"
# a target, for convenience sake, to create the .ref file with the current output
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment