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