tests: use "test_cmp", not "diff", when verifying the result
[gitweb.git] / t / Makefile
index 25c559bb49d04586c69242cd7ef03713f0939e9d..93a64750eb75f14492eb5e2f7ac2eb721a8560a6 100644 (file)
@@ -6,10 +6,14 @@
 -include ../config.mak
 
 #GIT_TEST_OPTS=--verbose --debug
+GIT_TEST_CMP ?= $(DIFF)
 SHELL_PATH ?= $(SHELL)
 TAR ?= $(TAR)
 RM ?= rm -f
 
+# Make sure test-lib.sh uses make's value of GIT_TEST_CMP
+export GIT_TEST_CMP
+
 # Shell quote;
 SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))