From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "ZSH workers mailing list" <zsh-workers@sunsite.auc.dk>
Subject: Running tests without installing Zsh
Date: Fri, 3 Mar 2000 14:43:48 +0300 [thread overview]
Message-ID: <000301bf8505$bd6c8640$21c9ca95@mow.siemens.ru> (raw)
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
next reply other threads:[~2000-03-03 11:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-03 11:43 Andrej Borsenkow [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000301bf8505$bd6c8640$21c9ca95@mow.siemens.ru' \
--to=andrej.borsenkow@mow.siemens.ru \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).