about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Test/Makefile.in11
2 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index c26a06f29..c7140d32f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-05-16  Bart Schaefer  <schaefer@zsh.org>
 
+	* 11419: Test/Makefile.in: Interpolate TESTNUM variable in the
+	glob that specifies which tests are run.
+	
 	* Felix Rosencrantz: 11398: Completion/User/_lzop,
 	Completion/Bsd/_bsd_pkg: Fix typos in option descriptions.
 
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 ==========