From ecdb71cd588848c2da147464949feb137111366f Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 11 Jun 2012 13:59:37 +0100 Subject: [PATCH] Add 'make check' rule. --- Makefile.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: -- 1.8.3.1