zsh-workers
 help / color / mirror / code / Atom feed
* Test Failures from latest CVS sources
@ 2004-02-19  2:32 Vin Shelton
  2004-02-19 10:14 ` Wayne Davison
  0 siblings, 1 reply; 5+ messages in thread
From: Vin Shelton @ 2004-02-19  2:32 UTC (permalink / raw)
  To: zsh-workers

On my linux 2.6.2 box (heavily modified Mandrake 9.0 system), I'm
seeing some test failures in builds from the latest CVS sources:
All the Y0? completion tests are failing:


/opt/src/zsh-2004-02-18/Test/Y01completion.ztst: starting.
Test /opt/src/zsh-2004-02-18/Test/Y01completion.ztst failed: non-zero status from preparation code:
  comptestinit -z $ZTST_testdir/../Src/zsh &&
  {
    mkdir dir1 &&
    mkdir dir2 &&
    touch file1 &&
    touch file2
  }
/opt/src/zsh-2004-02-18/Test/Y01completion.ztst: test failed.
Test /opt/src/zsh-2004-02-18/Test/Y01completion.ztst failed: bad status 1, expected 0 from:
  comptest $': \t\t\t\t\t\t\t'
Was testing: directories and files
/opt/src/zsh-2004-02-18/Test/Y01completion.ztst: test failed.
/opt/src/zsh-2004-02-18/Test/Y02compmatch.ztst: starting.
Test /opt/src/zsh-2004-02-18/Test/Y02compmatch.ztst failed: non-zero status from preparation code:
  comptestinit -z $ZTST_testdir/../Src/zsh &&
  {
    list1=(IndianRed IndianRed2 IndianRed3 IndianRed4)
    test_code () {
        matcher=$1;
        list=$2;
        code="compdef _tst tst ; _tst () { echo -n '<COMPADD>';compadd -M '"
        code="$code$matcher"
        code="$code'  - ${(P)list} ; echo  -n '</COMPADD>'"
        code="$code; $extra_cmd"
        code="$code; echo -n '<INSERT_POSITIONS>'"
        code="$code; echo \$compstate[insert_positions]"
        code="$code; echo -n '</INSERT_POSITIONS>'"
        code="$code}"
        comptesteval "$code"
    }
  }
/opt/src/zsh-2004-02-18/Test/Y02compmatch.ztst: test failed.
Test /opt/src/zsh-2004-02-18/Test/Y02compmatch.ztst failed: bad status 1, expected 0 from:
 test_code z: list1
 comptest  $'tst \t'
Error output:
(eval):1: command not found: test_code
Was testing: Match Error for "z:"
/opt/src/zsh-2004-02-18/Test/Y02compmatch.ztst: test failed.
/opt/src/zsh-2004-02-18/Test/Y03arguments.ztst: starting.
Test /opt/src/zsh-2004-02-18/Test/Y03arguments.ztst failed: non-zero status from preparation code:
  comptestinit -z $ZTST_testdir/../Src/zsh &&
  {
    comptesteval 'compdef _tst tst'
    tst_arguments () { comptesteval "_tst () { _arguments ${${(@qq)*}} }" }
  }
/opt/src/zsh-2004-02-18/Test/Y03arguments.ztst: test failed.
Test /opt/src/zsh-2004-02-18/Test/Y03arguments.ztst failed: bad status 1, expected 0 from:
 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'
Error output:
(eval):1: command not found: tst_arguments
Was testing: one non-option argument
/opt/src/zsh-2004-02-18/Test/Y03arguments.ztst: test failed.
make[1]: [check] Error 1 (ignored)

zsh configuration
-----------------
zsh version               : 4.1.1-dev-1
host operating system     : i686-pc-linux-gnu
source code location      : /opt/src/zsh-2004-02-18
compiler                  : icc
preprocessor flags        : -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
executable compiler flags : -O3 -tpp6 -axK -xK -ip 
module compiler flags     : -O3 -tpp6 -axK -xK -ip  -fPIC
executable linker flags   : -i_dynamic  -rdynamic
module linker flags       : -i_dynamic  -shared
library flags             : -ldl -lnsl -lcurses -lm  -lc
installation basename     : zsh
binary install path       : /usr/local/zsh-2004-02-18/bin
man page install path     : /usr/local/zsh-2004-02-18/man
info install path         : /usr/local/zsh-2004-02-18/info
functions install path    : /usr/local/share/zsh/4.1.1-dev-1/functions

  - Vin


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Test Failures from latest CVS sources
  2004-02-19  2:32 Test Failures from latest CVS sources Vin Shelton
@ 2004-02-19 10:14 ` Wayne Davison
  2004-02-19 12:13   ` Vin Shelton
  0 siblings, 1 reply; 5+ messages in thread
From: Wayne Davison @ 2004-02-19 10:14 UTC (permalink / raw)
  To: Vin Shelton; +Cc: zsh-workers

On Wed, Feb 18, 2004 at 09:32:21PM -0500, Vin Shelton wrote:
> All the Y0? completion tests are failing:

For a brief time I was seeing these tests fail on a debian sarge system,
but after making some unrelated code changes (to zsh.h, which caused all
programs to be recompiled), the problem went away (even if I revert my
unrelated changes).  Weird.  I wonder if something hadn't gotten
rebuilt?  You might try doing a "make clean", rebuild, and see if the
problem persists.

..wayne..


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Test Failures from latest CVS sources
  2004-02-19 10:14 ` Wayne Davison
@ 2004-02-19 12:13   ` Vin Shelton
  2004-02-19 12:37     ` Peter Stephenson
  0 siblings, 1 reply; 5+ messages in thread
From: Vin Shelton @ 2004-02-19 12:13 UTC (permalink / raw)
  To: Wayne Davison; +Cc: Vin Shelton, zsh-workers

Wayne Davison <wayned@users.sourceforge.net> writes:

> On Wed, Feb 18, 2004 at 09:32:21PM -0500, Vin Shelton wrote:
>> All the Y0? completion tests are failing:
>
> For a brief time I was seeing these tests fail on a debian sarge system,
> but after making some unrelated code changes (to zsh.h, which caused all
> programs to be recompiled), the problem went away (even if I revert my
> unrelated changes).  Weird.  I wonder if something hadn't gotten
> rebuilt?  You might try doing a "make clean", rebuild, and see if the
> problem persists.

Wayne,

Thanks for the suggestion, but I always tar over a fresh source tree
from cvs and then build in a separate directory, so I doubt that your
proposal will help.  I will investigate further when I get back to my
home system.

Thanks,
  Vin


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Test Failures from latest CVS sources
  2004-02-19 12:13   ` Vin Shelton
@ 2004-02-19 12:37     ` Peter Stephenson
  2004-02-19 19:28       ` Wayne Davison
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Stephenson @ 2004-02-19 12:37 UTC (permalink / raw)
  To: Zsh hackers list

Vin Shelton wrote:
> Thanks for the suggestion, but I always tar over a fresh source tree
> from cvs and then build in a separate directory, so I doubt that your
> proposal will help.  I will investigate further when I get back to my
> home system.

It's very likely to be the continuing ptmx saga.  I shouldn't worry too
much until we get that sorted out.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Test Failures from latest CVS sources
  2004-02-19 12:37     ` Peter Stephenson
@ 2004-02-19 19:28       ` Wayne Davison
  0 siblings, 0 replies; 5+ messages in thread
From: Wayne Davison @ 2004-02-19 19:28 UTC (permalink / raw)
  To: Peter Stephenson; +Cc: Zsh hackers list

On Thu, Feb 19, 2004 at 12:37:06PM +0000, Peter Stephenson wrote:
> It's very likely to be the continuing ptmx saga.  I shouldn't worry too
> much until we get that sorted out.

Yes, this seems to be the cause.  I had made the manual tweak of
commenting out the HAVE_DEV_PTMX define in config.h (as suggested by
Bart) in order to get rid of a hang in the tests, and reverting that
change on one of my two test systems does cause the early Y* tests to
start failing again.  Strangely, reverting this change on the other test
system I was using (which I did try last night) did not cause these
failures (just the aforementioned hang), so I had assumed that this
change was unrelated to the failures based on that.  Instead, it just
appears to affect different Linux setups differently.

..wayne..


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-02-19 19:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-19  2:32 Test Failures from latest CVS sources Vin Shelton
2004-02-19 10:14 ` Wayne Davison
2004-02-19 12:13   ` Vin Shelton
2004-02-19 12:37     ` Peter Stephenson
2004-02-19 19:28       ` Wayne Davison

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).