about summary refs log tree commit diff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-12-12 03:43:47 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-12-12 03:43:47 +0000
commitccfc548cc8507b16397f674cbb0a8911781e27b4 (patch)
treec944ab1e10abc33fb12cc479dabe0708bbbf224e /GNUmakefile
parenta72930bd1433b10c43def3be55c02c53264b4a43 (diff)
downloadnetpbm-mirror-ccfc548cc8507b16397f674cbb0a8911781e27b4.tar.gz
netpbm-mirror-ccfc548cc8507b16397f674cbb0a8911781e27b4.tar.xz
netpbm-mirror-ccfc548cc8507b16397f674cbb0a8911781e27b4.zip
various changes to test facility
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1806 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index a302d309..9066f2a7 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -409,11 +409,12 @@ install.sharedlibstub:
 .PHONY: check
 check:
 # This works on typical Linux systems
-	cd $(SRCDIR)/test; \
+	if [ ! -d $(RESULTDIR) ]; then mkdir -pv $(RESULTDIR); fi
+	cd $(RESULTDIR); \
 	  PBM_TESTPREFIX=$(PKGDIR)/bin \
 	  LD_LIBRARY_PATH=$(PKGDIR)/lib \
 	  RGBDEF=$(SRCDIR)/lib/rgb.txt \
-	  ./Execute-Tests
+	  $(SRCDIR)/test/Execute-Tests 2>&1
 
 clean: localclean