Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Test D03 hang under cygwin 1.7



On Thu, 5 Feb 2009, Vin Shelton wrote:

Hello -

Greetings, Vin,

Under the soon-to-be-released Cygwin 1.7, I downloaded the latest CVS
sources and ran a build from scratch.  I'm getting a test hang in D03:

I've seen this only once before under 1.5, but not lately in any of my
test builds.  Are you running a multi-processor/hyper-threaded machine?
If so, what's the configuration?  At the point of the hang, do a 'ps' and
see how many zsh shells are currently running.  This might be a race
condition which can be coded around depending on the exact configuration
needed to cause the condition.

ZTST_verbose=3 make TESTNUM=D03 check
cd Test ; make check
make[1]: Entering directory `/usr/local/build/zsh-2009-02-05/Test'
if test -n "gcc"; then \
         cd .. && DESTDIR= \
         make MODDIR=`pwd`/Test/Modules install.modules > /dev/null; \
       fi
if ZTST_testlist="`for f in /usr/local/src/zsh-2009-02-05/Test/D03*.ztst; \
          do echo $f; done`" \
        ZTST_srcdir="/usr/local/src/zsh-2009-02-05/Test" \
        ZTST_exe=../Src/zsh.exe \
        ../Src/zsh.exe +Z -f
/usr/local/src/zsh-2009-02-05/Test/runtests.zsh; then \
        stat=0; \
       else \
        stat=1; \
       fi; \
       rm -rf Modules .zcompdump; \
       exit $stat
/usr/local/src/zsh-2009-02-05/Test/D03procsubst.ztst: starting.
ZTST_getsect: read section name: prep
ZTST_getchunk: read code chunk:
 if grep '#define PATH_DEV_FD' $ZTST_testdir/../config.h > /dev/null 2>&1 ||
    grep '#define HAVE_FIFOS' $ZTST_testdir/../config.h > /dev/null 2>&1; then
   mkdir procsubst.tmp
   cd procsubst.tmp
   print 'First\tSecond\tThird\tFourth' >FILE1
   print 'Erste\tZweite\tDritte\tVierte' >FILE2
 else
   ZTST_unimplemented="process substitution is not supported"
   true
 fi
ZTST_execchunk: status 0
ZTST_getchunk: read code chunk:
 function copycat { cat "$@" }
ZTST_execchunk: status 0
ZTST_getchunk: read code chunk:

ZTST_getsect: read section name: test
ZTST_test: looking for new test
ZTST_test: examining line:
 paste <(cut -f1 FILE1) <(cut -f3 FILE2)
ZTST_getchunk: read code chunk:
 paste <(cut -f1 FILE1) <(cut -f3 FILE2)
ZTST_test: examining line:
First  Dritte
ZTST_getredir: read redir for '>':
First   Dritte
ZTST_test: examining line:

Running test: <(...) substitution
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.3712, output: /tmp/zsh.ztst.out.3712, error:
/tmp/zsh.ztst.terr.3712
make[1]: *** [check] Interrupt
make: *** [check] Interrupt


--
Peter A. Castro <doctor@xxxxxxxxxxxx> or <Peter.Castro@xxxxxxxxxx>
	"Cats are just autistic Dogs" -- Dr. Tony Attwood



Messages sorted by: Reverse Date, Date, Thread, Author