From: Richard W.M. Jones Date: Mon, 11 Jun 2012 12:59:37 +0000 (+0100) Subject: Add 'make check' rule. X-Git-Tag: v0.6~40 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=ecdb71cd588848c2da147464949feb137111366f;p=ocaml-augeas.git Add 'make check' rule. --- diff --git a/Makefile.in b/Makefile.in index 330429e..0ff38a4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -50,7 +50,7 @@ mlaugeas.cmxa: augeas_c.o augeas.cmx # Test program. -test_augeas: test_augeas.cmo test_root +test_augeas: test_augeas.cmo test_root mlaugeas.cma $(OCAMLFIND) ocamlc -o $@ mlaugeas.cma $< test_root: @@ -59,6 +59,9 @@ test_root: mkdir $@/etc cp /etc/hosts $@/etc/ +check: + LD_LIBRARY_PATH=. ./test_augeas + # Clean. clean: