about summary refs log tree commit diff
path: root/GNUmakefile
diff options
context:
space:
mode:
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