Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Test issues
- X-seq: zsh-workers 22545
- From: "Vin Shelton" <acs@xxxxxxxxxxxxxxxxxxxx>
- To: "Zsh hackers list" <zsh-workers@xxxxxxxxxx>
- Subject: Test issues
- Date: Tue, 11 Jul 2006 10:49:09 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=si23wl1hLhVXxAC2ghc2+sxgsraKfiXs6f0jdR00FXM0HDdO/BK+1PMe7ez3KjjHQVizeQIEcEVRFo6Wx8VBw43JK3kOzJkt7PP1KX2Havxbs8KQ+YYGbE5Oawc9CKBDlmh39JY6Q2xoZfFT4F3ZsleB/JlBwaYAIFuLyvrw3j8=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Sender: ethersoft@xxxxxxxxx
Greetings -
I'd like to bring up a few issues with the test scripts:
1. Since yesterday, the A04 test has been failing on my linux systems
at home (kubuntu) and at work (RHEL). Here's the tail of
'ZTST_verbose=3 TESTNUM=A04 make test':
Running test: Using {fdvar}> syntax to open a new file descriptor
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.26465, output: /tmp/zsh.ztst.out.26465, error:
/tmp/zsh.ztst.terr.26465
make: [test] Error 127 (ignored)
Please let me know if you need more diagnostic input.
2. Peter, thanks for implementing the multibyte test. There's a very
minor typo:
Index: Test/D07multibyte.ztst
===================================================================
RCS file: /cvsroot/zsh/zsh/Test/D07multibyte.ztst,v
retrieving revision 1.5
diff -u -r1.5 D07multibyte.ztst
--- Test/D07multibyte.ztst 10 Jul 2006 13:08:24 -0000 1.5
+++ Test/D07multibyte.ztst 11 Jul 2006 14:17:52 -0000
@@ -12,7 +12,7 @@
fi
done
if [[ -z $mb_ok ]]; then
- ZTST_unimplemented="no UTF-8 locale or multibyte mode is not implemnted"
+ ZTST_unimplemented="no UTF-8 locale or multibyte mode is not implemented"
else
print Testing multibyte with locale $LANG >&8
fi
3. Is there a relliable way to get the number of test failures? In
case #1 above, the output of 'make check' looks like this:
/usr/local/src/zsh-2006-07-11/Test/A03quoting.ztst: starting.
/usr/local/src/zsh-2006-07-11/Test/A03quoting.ztst: all tests successful.
/usr/local/src/zsh-2006-07-11/Test/A04redirect.ztst: starting.
/usr/local/src/zsh-2006-07-11/Test/A05execution.ztst: starting.
/usr/local/src/zsh-2006-07-11/Test/A05execution.ztst: all tests successful.
Note that there's no failure message printed for A04. What I'm
currently doing is using 'grep -c' to count 'starting' and then
counting 'skipped' and 'successful'. Currently, my math looks like
this: #failures = #starts - #successful - #skipped. Is there a better
way?
Peter - I think the test suite is very helpful - thanks for creating it!
Thanks,
Vin
--
Whoever you are, no matter how lonely,
the world offers itself to your imagination,
calls to you like the wild geese, harsh and exciting--
over and over announcing your place
in the family of things. Mary Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author