about summary refs log tree commit diff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-12-07 02:48:41 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-12-07 02:48:41 +0000
commitfea80fefd7ed6e50a9859c992f1b7b4873e1ef0d (patch)
tree04bcde90b1ff86c24da1972dbe309287df3d3a12 /GNUmakefile
parent823be2c11c870129aac78e7c9a62b83b8d9a3f33 (diff)
downloadnetpbm-mirror-fea80fefd7ed6e50a9859c992f1b7b4873e1ef0d.tar.gz
netpbm-mirror-fea80fefd7ed6e50a9859c992f1b7b4873e1ef0d.tar.xz
netpbm-mirror-fea80fefd7ed6e50a9859c992f1b7b4873e1ef0d.zip
Add 'check' make target to run the new test/Execute_Tests test suite
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1804 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index d6e59c20..a302d309 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -406,6 +406,15 @@ install.sharedlibstub:
 	$(MAKE) -C lib -f $(SRCDIR)/lib/Makefile \
 	    SRCDIR=$(SRCDIR) BUILDDIR=$(BUILDDIR) install.sharedlibstub 
 
+.PHONY: check
+check:
+# This works on typical Linux systems
+	cd $(SRCDIR)/test; \
+	  PBM_TESTPREFIX=$(PKGDIR)/bin \
+	  LD_LIBRARY_PATH=$(PKGDIR)/lib \
+	  RGBDEF=$(SRCDIR)/lib/rgb.txt \
+	  ./Execute-Tests
+
 clean: localclean
 
 .PHONY: localclean