zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: Run selective tests
@ 2000-05-16 17:33 Bart Schaefer
  0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2000-05-16 17:33 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-05-16 17:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-16 17:33 PATCH: Run selective tests Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).