Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: Run selective tests



This simple tweak allows one to invoke

	make TESTNUM=53 check

to (for example) run only the completion tests, or

	make TESTNUM='[0-4]' check

to run only the basic shell tests, etc.  Remmber that you probably get only
Bourne shell globbing unless your /bin/sh is a link to zsh.

Index: Test/Makefile.in
===================================================================
@@ -45,7 +45,7 @@
 	  cd $(dir_top) && \
 	  $(MAKE) MODDIR=`pwd`/$(subdir)/Modules install.modules > /dev/null; \
 	fi
-	for f in $(sdir)/*.ztst; do \
+	for f in $(sdir)/$(TESTNUM)*.ztst; do \
 	  $(dir_top)/Src/zsh -f $(sdir)/ztst.zsh $$f; \
 	done
 	rm -rf Modules

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



Messages sorted by: Reverse Date, Date, Thread, Author