Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Running tests without installing Zsh
- X-seq: zsh-workers 9976
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "ZSH workers mailing list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Running tests without installing Zsh
- Date: Fri, 3 Mar 2000 14:43:48 +0300
- Importance: Normal
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author