summaryrefslogtreecommitdiff
path: root/testsuite/tests/lib-dynlink-csharp/Makefile
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2011-12-28 08:47:03 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2011-12-28 08:47:03 +0000
commitc98f6f316115703723ce79f5c4c05ee622c64653 (patch)
tree4a9da7457462b6a56451b6b52882d166605fce60 /testsuite/tests/lib-dynlink-csharp/Makefile
parent3a5aff77d0b453d91a7c03376a682f0f7c8679aa (diff)
downloadocaml-c98f6f316115703723ce79f5c4c05ee622c64653.tar.gz
Somewhat related to PR#5179: replace "diff -q" with "$(DIFF)" so that under Windows DIFF can be overriden by something that ignores CRLF/LF differences.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11965 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'testsuite/tests/lib-dynlink-csharp/Makefile')
-rw-r--r--testsuite/tests/lib-dynlink-csharp/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/lib-dynlink-csharp/Makefile b/testsuite/tests/lib-dynlink-csharp/Makefile
index 377b7d8474..06f58b72da 100644
--- a/testsuite/tests/lib-dynlink-csharp/Makefile
+++ b/testsuite/tests/lib-dynlink-csharp/Makefile
@@ -15,7 +15,7 @@ bytecode:
$(OCAMLC) -output-obj -o main.dll dynlink.cma main.ml entry.c; \
$(CSC) /out:main.exe main.cs; \
./main.exe > bytecode.result; \
- diff -q bytecode.reference bytecode.result > /dev/null && echo " => passed" || echo " => failed"; \
+ $(DIFF) bytecode.reference bytecode.result > /dev/null && echo " => passed" || echo " => failed"; \
fi
bytecode-dll:
@@ -27,7 +27,7 @@ bytecode-dll:
$(MKDLL) -maindll -o main.dll main_obj.$(O) entry.$(O) ../../byterun/libcamlrun.$(A) $(BYTECCLIBS) -v; \
$(CSC) /out:main.exe main.cs; \
./main.exe > bytecode.result; \
- diff -q bytecode.reference bytecode.result > /dev/null && echo " => passed" || echo " => failed"; \
+ $(DIFF) bytecode.reference bytecode.result > /dev/null && echo " => passed" || echo " => failed"; \
fi
native:
@@ -38,7 +38,7 @@ native:
$(OCAMLOPT) -output-obj -o main.dll dynlink.cmxa entry.c main.ml; \
$(CSC) /out:main.exe main.cs; \
./main.exe > native.result; \
- diff -q native.reference native.result > /dev/null && echo " => passed" || echo " => failed"; \
+ $(DIFF) native.reference native.result > /dev/null && echo " => passed" || echo " => failed"; \
fi
native-dll:
@@ -50,7 +50,7 @@ native-dll:
$(MKDLL) -maindll -o main.dll main_obj.$(O) entry.$(O) ../../asmrun/libasmrun.lib -v; \
$(CSC) /out:main.exe main.cs; \
./main.exe > native.result; \
- diff -q native.reference native.result > /dev/null && echo " => passed" || echo " => failed"; \
+ $(DIFF) native.reference native.result > /dev/null && echo " => passed" || echo " => failed"; \
fi
promote: defaultpromote