From 6c44d97386a3c79712cfaf342606a0cfea97d6ec Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Tue, 16 May 2000 17:39:11 +0000 Subject: 11419: Control "make check" with the TESTNUM variable. --- Test/Makefile.in | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'Test/Makefile.in') 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 ========== -- cgit 1.4.1