Skip to content
Snippets Groups Projects
Commit 0ea6c627 authored by Ralf Jung's avatar Ralf Jung
Browse files

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

parent c07c52fc
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment