zsh-workers
 help / color / mirror / code / Atom feed
From: Vin Shelton <acs@alumni.princeton.edu>
To: zsh-workers@sunsite.dk
Subject: New Test Failure
Date: Tue, 30 Nov 2004 08:48:52 -0500	[thread overview]
Message-ID: <545brdf8n23.fsf@alumni.princeton.edu> (raw)

It looks like the $(##) change broke something:

cd Test ; make check
make[1]: Entering directory `/u/sheltonv/software/SunOS-5.8/build/zsh-2004-11-30/Test'
if test -n "cc"; then \
  cd .. && DESTDIR= \
  make MODDIR=`pwd`/Test/Modules install.modules > /dev/null; \
fi
mkdir /u/sheltonv/software/SunOS-5.8/build/zsh-2004-11-30/Test/Modules
mkdir /u/sheltonv/software/SunOS-5.8/build/zsh-2004-11-30/Test/Modules/zsh
mkdir /u/sheltonv/software/SunOS-5.8/build/zsh-2004-11-30/Test/Modules/zsh/net
for f in /u/sheltonv/software/SunOS-5.8/src/zsh-2004-11-30/Test/C01*.ztst; do \
  ZTST_exe=../Src/zsh \
    ../Src/zsh +Z -f /u/sheltonv/software/SunOS-5.8/src/zsh-2004-11-30/Test/ztst.zsh $f; \
done
/u/sheltonv/software/SunOS-5.8/src/zsh-2004-11-30/Test/C01arith.ztst: starting.
ZTST_getsect: read section name: test
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  integer light there
ZTST_getchunk: read code chunk:
  integer light there
  (( light = 42 )) &&
  let 'there = light' &&
  print $(( there ))
ZTST_test: examining line:
>42
ZTST_getredir: read redir for '>':
42
ZTST_test: examining line:

Running test: basic integer arithmetic
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
42
ZTST_test: and standard error:

Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  float light there
ZTST_getchunk: read code chunk:
  float light there
  integer rnd
  (( light = 3.1415 )) &&
  let 'there = light' &&
  print -- $(( rnd = there * 10000 ))
ZTST_test: examining line:
>31415.
ZTST_getredir: read redir for '>':
31415.
ZTST_test: examining line:

Running test: basic floating point arithmetic
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
31415.
ZTST_test: and standard error:

Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  print $(( 0x10 + 0X01 + 2#1010 ))
ZTST_getchunk: read code chunk:
  print $(( 0x10 + 0X01 + 2#1010 ))
ZTST_test: examining line:
>27
ZTST_getredir: read redir for '>':
27
ZTST_test: examining line:

Running test: base input
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
27
ZTST_test: and standard error:

Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  float light
ZTST_getchunk: read code chunk:
  float light
  (( light = 4 ))
  print $light
  typeset -F light
  print $light
ZTST_test: examining line:
>4.000000000e+00
ZTST_getredir: read redir for '>':
4.000000000e+00
4.0000000000
ZTST_test: examining line:

Running test: conversion to float
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
4.000000000e+00
4.0000000000
ZTST_test: and standard error:

Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  integer i
ZTST_getchunk: read code chunk:
  integer i
  (( i = 32.5 ))
  print $i
ZTST_test: examining line:
>32
ZTST_getredir: read redir for '>':
32
ZTST_test: examining line:

Running test: conversion to int
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
32
ZTST_test: and standard error:

Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  integer i
ZTST_getchunk: read code chunk:
  integer i
  (( i = 4 - - 3 * 7 << 1 & 7 ^ 1 | 16 ** 2 ))
  print $i
ZTST_test: examining line:
>1591
ZTST_getredir: read redir for '>':
1591
ZTST_test: examining line:

Running test: precedence (arithmetic)
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
1591
ZTST_test: and standard error:

Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  print $(( 1 < 2 || 2 < 2 && 3 > 4 ))
ZTST_getchunk: read code chunk:
  print $(( 1 < 2 || 2 < 2 && 3 > 4 ))
ZTST_test: examining line:
>1
ZTST_getredir: read redir for '>':
1
ZTST_test: examining line:

Running test: precedence (logical)
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
1
ZTST_test: and standard error:

Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  print $(( 1 + 4 ? 3 + 2 ? 4 + 3 ? 5 + 6 ? 4 * 8 : 0 : 0 : 0 : 0 ))
ZTST_getchunk: read code chunk:
  print $(( 1 + 4 ? 3 + 2 ? 4 + 3 ? 5 + 6 ? 4 * 8 : 0 : 0 : 0 : 0 ))
ZTST_test: examining line:
>32
ZTST_getredir: read redir for '>':
32
ZTST_test: examining line:

Running test: precedence (ternary)
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
32
ZTST_test: and standard error:

Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  print $(( 3 ? 2 ))
ZTST_getchunk: read code chunk:
  print $(( 3 ? 2 ))
ZTST_test: examining line:
?(eval):1: ':' expected
ZTST_getredir: read redir for '?':
(eval):1: ':' expected
ZTST_test: examining line:

Running test: parsing ternary (1)
ZTST_test: expecting status: 1
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 1
ZTST_test: test produced standard output:

ZTST_test: and standard error:
(eval):1: ':' expected
Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  print $(( 3 ? 2 : 1 : 4 ))
ZTST_getchunk: read code chunk:
  print $(( 3 ? 2 : 1 : 4 ))
ZTST_test: examining line:
?(eval):1: ':' without '?'
ZTST_getredir: read redir for '?':
(eval):1: ':' without '?'
ZTST_test: examining line:

Running test: parsing ternary (2)
ZTST_test: expecting status: 1
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 1
ZTST_test: test produced standard output:

ZTST_test: and standard error:
(eval):1: ':' without '?'
Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  print $(( 0, 4 ? 3 : 1, 5 ))
ZTST_getchunk: read code chunk:
  print $(( 0, 4 ? 3 : 1, 5 ))
ZTST_test: examining line:
>5
ZTST_getredir: read redir for '>':
5
ZTST_test: examining line:

Running test: comma operator
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
5
ZTST_test: and standard error:

Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  foo=000
ZTST_getchunk: read code chunk:
  foo=000
  print $(( ##A + ##\C-a + #foo + $#foo ))
ZTST_test: examining line:
>117
ZTST_getredir: read redir for '>':
117
ZTST_test: examining line:

Running test: #, ## and $#
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
117
ZTST_test: and standard error:

Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  print $((##))
ZTST_getchunk: read code chunk:
  print $((##))
ZTST_test: examining line:
>0
ZTST_getredir: read redir for '>':
0
ZTST_test: examining line:

Running test: ## without following character
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 1
Test /u/sheltonv/software/SunOS-5.8/src/zsh-2004-11-30/Test/C01arith.ztst failed: bad status 1, expected 0 from:
  print $((##))
Error output:
(eval):1: character missing after ##
Was testing: ## without following character
/u/sheltonv/software/SunOS-5.8/src/zsh-2004-11-30/Test/C01arith.ztst: test failed.
make[1]: [check] Error 1 (ignored)
rm -rf Modules .zcompdump
make[1]: Leaving directory `/u/sheltonv/software/SunOS-5.8/build/zsh-2004-11-30/Test'

HTH,
  Vin

-- 
In a minute there is time
For decisions and revisions which a minute will reverse.         T.S. Eliot
[URL: http://www.cs.amherst.edu/~ccm/prufrock.html]


             reply	other threads:[~2004-11-30 13:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-30 13:48 Vin Shelton [this message]
2004-11-30 14:03 ` Peter Stephenson
2012-02-22 13:59 New test failure Vin Shelton
2012-02-22 15:34 ` Bart Schaefer

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=545brdf8n23.fsf@alumni.princeton.edu \
    --to=acs@alumni.princeton.edu \
    --cc=zsh-workers@sunsite.dk \
    /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).