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.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/Test/Makefile.in b/Test/Makefile.in
index 107b61f58..4b68755a5 100644
--- a/Test/Makefile.in
+++ b/Test/Makefile.in
@@ -41,9 +41,14 @@ INSTALL         = @INSTALL@
 # ========== DEPENDENCIES FOR TESTING ==========
 
 check test:
+	if test -n "$(DLLD)"; then \
+	  cd $(dir_top) && \
+	  $(MAKE) MODDIR=`pwd`/$(subdir)/Modules install.modules > /dev/null; \
+	fi
 	for f in $(sdir)/*.ztst; do \
-	  ../Src/zsh -f $(sdir)/ztst.zsh $$f; \
+	  $(dir_top)/Src/zsh -f $(sdir)/ztst.zsh $$f; \
 	done
+	rm -rf Modules
 
 # ========== DEPENDENCIES FOR CLEANUP ==========