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

Weird test failures under Cygwin



May be, somebody has an idea.

If I run tests individually (make TESTNUM=Y02compmatch check) it work fine. If
I run them all at once (or just make TESTNUM=Y check), both compatch and
arguments fail:

mw1g017@MW1G17C% make TESTNUM=Y02compmatch check
cd Test ; make check
make[1]: Entering directory `/tools/build/zsh/Test'
if test -n "dllwrap"; then \
  cd .. && \
  make MODDIR=`pwd`/Test/Modules install.modules > /dev/null; \
fi
mkdir /tools/build/zsh/Test/Modules
mkdir /tools/build/zsh/Test/Modules/zsh
for f in /tools/src/zsh/Test/Y02compmatch*.ztst; do \
  ../Src/zsh +Z -f /tools/src/zsh/Test/ztst.zsh $f; \
done
/tools/src/zsh/Test/Y02compmatch.ztst: starting.
##############################################################################
##
##############################################################################
##
/tools/src/zsh/Test/Y02compmatch.ztst: all tests successful.
rm -rf Modules .zcompdump
make[1]: Leaving directory `/tools/build/zsh/Test'
mw1g017@MW1G17C% make TESTNUM=Y check
cd Test ; make check
make[1]: Entering directory `/tools/build/zsh/Test'
if test -n "dllwrap"; then \
  cd .. && \
  make MODDIR=`pwd`/Test/Modules install.modules > /dev/null; \
fi
mkdir /tools/build/zsh/Test/Modules
mkdir /tools/build/zsh/Test/Modules/zsh
for f in /tools/src/zsh/Test/Y*.ztst; do \
  ../Src/zsh +Z -f /tools/src/zsh/Test/ztst.zsh $f; \
done
/tools/src/zsh/Test/Y01completion.ztst: starting.
/tools/src/zsh/Test/Y01completion.ztst: all tests successful.###
/tools/src/zsh/Test/Y02compmatch.ztst: starting.
*** /tmp/zsh.ztst.out.2132      Thu May 10 19:51:12 2001
--- /tmp/zsh.ztst.tout.2132     Thu May 10 19:51:12 2001
***************
*** 1,3 ****
  line: {tst }{}
- COMPADD:{_tst:compadd: unknown match specification character `z'}
- INSERT_POSITIONS:{}
--- 1 ----
Test /tools/src/zsh/Test/Y02compmatch.ztst failed: output differs from
expected
as shown above for:
 test_code z: list1
 comptest  $'tst \t'
Was testing: Match Error for "z:"
/tools/src/zsh/Test/Y02compmatch.ztst: test failed.
rm: cannot remove directory `/tools/build/zsh/Test/match.tmp': Permission
denied

/tools/src/zsh/Test/Y03arguments.ztst: starting.
*** /tmp/zsh.ztst.out.3200      Thu May 10 19:51:29 2001
--- /tmp/zsh.ztst.tout.3200     Thu May 10 19:51:29 2001
***************
*** 1,11 ****
! line: {tst arg1 }{}
! line: {tst arg1 }{}
! line: {tst arg1 }{}
! line: {tst arg1 }{}
! line: {tst arg1 }{}
! line: {tst r}{}
! line: {tst x}{}
! line: {tst x }{}
! MESSAGE:{no more arguments}
! line: {tst x y }{}
! MESSAGE:{no more arguments}
--- 1,9 ----
! line: {tst }{}
! line: {a}{}
! line: {ar}{}
! line: {arg}{}
! line: {arg1}{}
! line: {r}{}
! line: {x}{}
! line: {x }{}
! line: {x y }{}
Test /tools/src/zsh/Test/Y03arguments.ztst failed: output differs from
expected
as shown above for:
 tst_arguments ':desc1:(arg1)'
 comptest $'tst \t\C-wa\t\C-war\t\C-warg\t\C-warg1\t\C-wr\t\C-wx\t \ty \t'
Was testing: one non-option argument
/tools/src/zsh/Test/Y03arguments.ztst: test failed.
rm: cannot remove directory `/tools/build/zsh/Test/comp.tmp': Permission
denied
make[1]: [check] Error 1 (ignored)
rm -rf Modules .zcompdump
make[1]: Leaving directory `/tools/build/zsh/Test'

-andrej

Have a nice DOS!
B >>



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