summaryrefslogtreecommitdiff
path: root/testsuite/tests/lib-dynlink-csharp/Makefile
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2013-05-03 15:52:56 +0000
committerDamien Doligez <damien.doligez-inria.fr>2013-05-03 15:52:56 +0000
commitea4b17ad1ef3b42a52284c1c6bfb6d889f9aa944 (patch)
tree15f989760f7dae84a56f26f1e99ba92913518893 /testsuite/tests/lib-dynlink-csharp/Makefile
parente2dbb7f5160fb02485290279a2e70961dd2202d6 (diff)
downloadocaml-ea4b17ad1ef3b42a52284c1c6bfb6d889f9aa944.tar.gz
testsuite: general cleanup of makefiles
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13648 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'testsuite/tests/lib-dynlink-csharp/Makefile')
-rw-r--r--testsuite/tests/lib-dynlink-csharp/Makefile23
1 files changed, 15 insertions, 8 deletions
diff --git a/testsuite/tests/lib-dynlink-csharp/Makefile b/testsuite/tests/lib-dynlink-csharp/Makefile
index 147b5ee553..afbb4cf86b 100644
--- a/testsuite/tests/lib-dynlink-csharp/Makefile
+++ b/testsuite/tests/lib-dynlink-csharp/Makefile
@@ -32,7 +32,8 @@ bytecode:
$(OCAMLC) -output-obj -o main.dll dynlink.cma main.ml entry.c; \
$(CSC) /out:main.exe main.cs; \
./main.exe > bytecode.result; \
- $(DIFF) bytecode.reference bytecode.result > /dev/null && echo " => passed" || echo " => failed"; \
+ $(DIFF) bytecode.reference bytecode.result >/dev/null \
+ && echo " => passed" || echo " => failed"; \
fi
bytecode-dll:
@@ -41,10 +42,12 @@ bytecode-dll:
echo " => passed"; \
else \
$(OCAMLC) -output-obj -o main_obj.$(O) dynlink.cma entry.c main.ml; \
- $(MKDLL) -maindll -o main.dll main_obj.$(O) entry.$(O) ../../byterun/libcamlrun.$(A) $(BYTECCLIBS) -v; \
+ $(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) bytecode.reference bytecode.result > /dev/null && echo " => passed" || echo " => failed"; \
+ ./main.exe >bytecode.result; \
+ $(DIFF) bytecode.reference bytecode.result >/dev/null \
+ && echo " => passed" || echo " => failed"; \
fi
native:
@@ -55,7 +58,8 @@ native:
$(OCAMLOPT) -output-obj -o main.dll dynlink.cmxa entry.c main.ml; \
$(CSC) /out:main.exe main.cs; \
./main.exe > native.result; \
- $(DIFF) native.reference native.result > /dev/null && echo " => passed" || echo " => failed"; \
+ $(DIFF) native.reference native.result > /dev/null \
+ && echo " => passed" || echo " => failed"; \
fi
native-dll:
@@ -63,11 +67,14 @@ native-dll:
@if [ ! `which $(CSC) > /dev/null 2>&1` ]; then \
echo " => passed"; \
else \
- $(OCAMLOPT) -output-obj -o main_obj.$(O) dynlink.cmxa entry.c main.ml; \
- $(MKDLL) -maindll -o main.dll main_obj.$(O) entry.$(O) ../../asmrun/libasmrun.lib -v; \
+ $(OCAMLOPT) -output-obj -o main_obj.$(O) dynlink.cmxa entry.c \
+ main.ml; \
+ $(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) native.reference native.result > /dev/null && echo " => passed" || echo " => failed"; \
+ $(DIFF) native.reference native.result >/dev/null \
+ && echo " => passed" || echo " => failed"; \
fi
promote: defaultpromote