From 394a4233e0d0a17cf23f9aeca105f9b6ac547e21 Mon Sep 17 00:00:00 2001 From: Matthias Goergens Date: Tue, 2 Feb 2010 16:43:42 +0000 Subject: [PATCH] Tests the allocator using the Kaputt framework. Signed-off-by: Matthias Goergens (Mercurial doesn't like Umlaute.) --- mlvm/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mlvm/Makefile b/mlvm/Makefile index 68e2617..b3bfc77 100644 --- a/mlvm/Makefile +++ b/mlvm/Makefile @@ -26,6 +26,9 @@ DOCDIR = /myrepos/xen-api-libs.hg/doc default : $(LIBS) +test_allocator: default + $(OCAMLOPT) -package kaputt -linkpkg -dtypes -g -I ../stdext -I ../camldm -I ../uuid -I +kaputt unix.cmxa ../rpc-light/rpc.cmx ../rpc-light/jsonrpc.cmx ../camldm/camldm.cmxa ../uuid/uuid.cmxa ../stdext/stdext.cmxa ./lvm.cmxa test_allocator.ml -o $@ + lvm.cmx: $(foreach obj,$(LIBOBJS),$(obj).cmx) $(OCAMLOPT) -pack -g -o $@ $(foreach obj,$(LIBOBJS),$(obj).cmx) @@ -52,6 +55,7 @@ uninstall: clean : rm -f *.cmo *.cmi *.cmx *.o *~ *.annot lvmconfiglex.ml \ lvmconfigparser.mli lvmconfigparser.ml + rm -f test_allocator .PHONY: doc doc: $(INTF) -- 2.39.5