about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-05-16 17:39:11 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-05-16 17:39:11 +0000
commit6c44d97386a3c79712cfaf342606a0cfea97d6ec (patch)
tree36b7c534aadaa03d3c52776c73a28c1cd0918ba7 /Test
parent9f3d6b63a0651189b290a8f235504be1530a2b73 (diff)
downloadzsh-6c44d97386a3c79712cfaf342606a0cfea97d6ec.tar.gz
zsh-6c44d97386a3c79712cfaf342606a0cfea97d6ec.tar.xz
zsh-6c44d97386a3c79712cfaf342606a0cfea97d6ec.zip
11419: Control "make check" with the TESTNUM variable.
Diffstat (limited to 'Test')
-rw-r--r--Test/Makefile.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/Test/Makefile.in b/Test/Makefile.in
index d7ce57b8a..3c865b7ad 100644
--- a/Test/Makefile.in
+++ b/Test/Makefile.in
@@ -40,10 +40,15 @@ INSTALL         = @INSTALL@
 
 # ========== DEPENDENCIES FOR TESTING ==========
 
-tests:
-	for f in *.ztst; do \
-	  ../Src/zsh ztst.zsh $$f; \
+check test:
+	if test -n "$(DLLD)"; then \
+	  cd $(dir_top) && \
+	  $(MAKE) MODDIR=`pwd`/$(subdir)/Modules install.modules > /dev/null; \
+	fi
+	for f in $(sdir)/$(TESTNUM)*.ztst; do \
+	  $(dir_top)/Src/zsh -f $(sdir)/ztst.zsh $$f; \
 	done
+	rm -rf Modules
 
 # ========== DEPENDENCIES FOR CLEANUP ==========