about summary refs log tree commit diff
path: root/Test/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Test/Makefile.in')
-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 ==========