zsh-workers
 help / color / mirror / code / Atom feed
* Running tests without installing Zsh
@ 2000-03-03 11:43 Andrej Borsenkow
  2000-03-03 17:37 ` PATCH: " Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Andrej Borsenkow @ 2000-03-03 11:43 UTC (permalink / raw)
  To: ZSH workers mailing list

If Zsh is compiled with dynamic loading, it is near to impossible to run
tests without installing Zsh (at least, Zsh modules and, probably,
functions). Even setting module_path to $srcdir/Src/*(/) does not help,
because Zsh loads modules as zsh/<module> - and we do not have zsh
subdirectories in this case.

One possibility is to use separate directory for compiled binaries. Bin/zsh
for zsh itself and Bin/Modules for modules with the same structure as in
installation directory. Then in ztst.zsh (or, possibly, as parameter) use

module_path=($PWD/../Bin/Modules)

and in Test/Makefile

check:
	$PWD/../Bin/zsh -f ztst.zsh

Of course, if any test runs as interactive, it will pick up wrong module
anyway as we cannot override module_path at Zsh startup.

Is any module loaded at non-interactive shell startup?

/andrej


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-03-03 18:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-03 11:43 Running tests without installing Zsh Andrej Borsenkow
2000-03-03 17:37 ` PATCH: " Bart Schaefer
2000-03-03 18:01   ` Blocking zpty once again Andrej Borsenkow
2000-03-03 18:23   ` PATCH: Re: Running tests without installing Zsh Zefram

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).