From: Vincent Stemen <vince.lists@hightek.org>
To: zsh-workers@zsh.org
Subject: Re: make test hangs on the Y tests
Date: Sat, 19 Feb 2011 12:50:31 -0600 [thread overview]
Message-ID: <20110219185031.GA82582@quark.hightek.org> (raw)
In-Reply-To: <20110219042528.GA73105@quark.hightek.org>
On Fri, Feb 18, 2011 at 10:25:29PM -0600, Vincent Stemen wrote:
> Hi. On the master branch from git as of yesterday, running "make test"
> hangs when it gets to the Y01completion test. It seems to hang on any
> of the 'Y' tests.
>
> # ZTST_verbose=2 make TESTNUM=Y test
> cd Test ; make check
> if test -n "gcc"; then cd .. && DESTDIR= make MODDIR=`pwd`/Test/Modules install.modules > /dev/null; fi
> if ZTST_testlist="`for f in ./Y*.ztst; do echo $f; done`" ZTST_srcdir="." ZTST_exe=../Src/zsh ../Src/zsh +Z -f ./runtests.zsh; then stat=0; else stat=1; fi; sleep 1; rm -rf Modules .zcompdump; exit $stat
> ./Y01completion.ztst: starting.
> ZTST_getsect: read section name: prep
> ZTST_getchunk: read code chunk:
> if ( zmodload -i zsh/zpty ) >/dev/null 2>&1; then
> . $ZTST_srcdir/comptest
> mkdir comp.tmp
> cd comp.tmp
> comptestinit -z $ZTST_testdir/../Src/zsh &&
> {
> mkdir dir1 &&
> mkdir dir2 &&
> touch file1 &&
> touch file2
> }
> else
> ZTST_unimplemented="the zsh/zpty module is not available"
> fi
> ^C
>
> As you can see at the bottom, I eventually hit ^C to break out.
Just as a reminder, this is on FreeBSD, in case it might make any
difference.
I have tracked down where it is hanging, but I don't know enough zsh
internals to know why.
When processing the %prep section of the Y tests,
it calls
comptestinit -z $ZTST_testdir/../Src/zsh
which calls comptesteval() in Test/comptest.
On line 83 in comptesteval() it calls
zpty -r -m zsh log_eval "*<PROMPT>*"
and thats where it hangs. zpty never returns.
I hope this helps. Let me know if there is anything more I can do to help
troubleshoot it.
Vince
next prev parent reply other threads:[~2011-02-19 18:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-19 4:25 Vincent Stemen
2011-02-19 15:58 ` Bart Schaefer
2011-02-19 18:50 ` Vincent Stemen [this message]
2011-02-20 18:13 ` Peter Stephenson
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=20110219185031.GA82582@quark.hightek.org \
--to=vince.lists@hightek.org \
--cc=zsh-workers@zsh.org \
/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).