Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: srcdir != builddir test errors
- X-seq: zsh-workers 9163
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: srcdir != builddir test errors
- Date: 29 Dec 1999 05:07:10 +0900
- In-reply-to: Vin Shelton's message of "26 Dec 1999 15:48:09 -0500"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <m2ln6h2zue.fsf@xxxxxxxxxxxxxxxxxxxx>
In article <m2ln6h2zue.fsf@xxxxxxxxxxxxxxxxxxxx>,
Vin Shelton <acs@xxxxxxxxxxxxxxxxxxxx> writes:
> I build zsh under a different directory than the source directory, and
> the tests can't be found under this configuration. The following
> diffs work for me, but YMMV.
It didn't work for me. Because ZTST_srcdir was relative path.
Index: ztst.zsh
===================================================================
RCS file: /projects/zsh/zsh/Test/ztst.zsh,v
retrieving revision 1.1.1.8
diff -u -r1.1.1.8 ztst.zsh
--- ztst.zsh 1999/12/26 22:57:23 1.1.1.8
+++ ztst.zsh 1999/12/28 20:05:18
@@ -45,6 +45,7 @@
# The source directory is not necessarily the current directory
ZTST_srcdir=${0%/*}
+[[ ZTST_srcdir = /* ]] || ZTST_srcdir="$ZTST_testdir/$ZTST_srcdir"
: ${TMPPREFIX:=/tmp/zsh}
# Temporary files for redirection inside tests.
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author