summaryrefslogtreecommitdiff
path: root/testsuite/tests/callback/Makefile
diff options
context:
space:
mode:
authorAlain Frisch <alain@frisch.fr>2012-01-18 08:31:11 +0000
committerAlain Frisch <alain@frisch.fr>2012-01-18 08:31:11 +0000
commitc45bcb892d78f3182acb2805aef7ec6e23cce42a (patch)
treeb92b5d6becb9e67a198bc2e070d748eeef62bc3d /testsuite/tests/callback/Makefile
parentcdbb84ec682704379bac21a633cbd2b9e93b35a8 (diff)
parent869feeb00704e0640c45ffe6aee6cc13e4077f79 (diff)
downloadocaml-unused_declarations.tar.gz
Synchronize with trunk.unused_declarations
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/unused_declarations@12034 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'testsuite/tests/callback/Makefile')
-rw-r--r--testsuite/tests/callback/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/callback/Makefile b/testsuite/tests/callback/Makefile
index bc846fe657..06ad39c50c 100644
--- a/testsuite/tests/callback/Makefile
+++ b/testsuite/tests/callback/Makefile
@@ -12,7 +12,7 @@ run-byte: common
@$(OCAMLC) -c tcallback.ml
@$(OCAMLC) -o ./program -custom unix.cma callbackprim.$(O) tcallback.cmo
@./program > bytecode.result
- @diff -q reference bytecode.result || (echo " => failed" && exit 1)
+ @$(DIFF) reference bytecode.result || (echo " => failed" && exit 1)
@echo " => passed"
run-opt: common
@@ -20,7 +20,7 @@ run-opt: common
@$(OCAMLOPT) -c tcallback.ml
@$(OCAMLOPT) -o ./program unix.cmxa callbackprim.$(O) tcallback.cmx
@./program > native.result
- @diff -q reference native.result || (echo " => failed" && exit 1)
+ @$(DIFF) reference native.result || (echo " => failed" && exit 1)
@echo " => passed"
promote: defaultpromote