zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: zsh-workers@zsh.org
Subject: Re: Adding tests for zle? The missing X series tests
Date: Sun, 29 Jan 2012 18:49:57 +0000	[thread overview]
Message-ID: <20120129184957.75f0ab12@pws-pc.ntlworld.com> (raw)
In-Reply-To: <CANGpWcfx0OLv2eFmPRFE+oGNLDspfAXq_U87iuvPX_XujNAkcQ@mail.gmail.com>

On Sun, 8 Jan 2012 16:20:20 -0800
Felix Rosencrantz <f.rosencrantz@gmail.com> wrote:
> I've attached draft versions of the incremental search tests, based on
> the suggestions of Bart and Peter.

Finally got around to looking at this; it's certainly a great start.  I
imagine we're going to be looking for oddities for a while yet.  For me
it's failing on the test below -- which means it's run five
successfully, which is already better than I might have hoped.

I made a start on further changes to protect against termcap
variability (by intercepting tests for capabilities); the complication
is the need to intercept tclen, the length of the sequence, too, and I
haven't worked around that yet.  If VT100 turns out to be standard
enough --- or we have enough ways of forcing a termcap/terminfo
definition, though I have severe doubts about that given the
multiplicity of terminal libraries ---  maybe we don't need any more.

./X01isearch.ztst: starting.
*** /tmp/zsh.ztst.out.8659	Sun Jan 29 18:38:10 2012
--- /tmp/zsh.ztst.tout.8659	Sun Jan 29 18:38:10 2012
***************
*** 1,2 ****
! echo 123 abc
! failing bck-i-search: abc_
--- 1,2 ----
! echo <FG 2><BG 1>abc<FG 9><BG 9>
! bck-i-search: abc_
Test ./X01isearch.ztst failed: output differs from expected as shown above for:
 zletesteval 'fc -R historyX01'
 zletest $'\C-Rabc\C-R\C-R\C-R\C-R'
Was testing: Verify incremental search failed fifth match
./X01isearch.ztst: test failed.
**************************************
0 successful test scripts, 1 failure, 0 skipped
**************************************
make: *** [check] Error 1

-- 
Peter Stephenson <p.w.stephenson@ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/


  parent reply	other threads:[~2012-01-29 18:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-20 16:20 Felix Rosencrantz
2011-12-21 11:39 ` Peter Stephenson
2012-01-04 17:38   ` Peter Stephenson
2012-01-09  0:20     ` Felix Rosencrantz
2012-01-09 10:02       ` Peter Stephenson
2012-01-11 16:45         ` Felix Rosencrantz
2012-01-29 18:49       ` Peter Stephenson [this message]
2011-12-21 16:48 ` 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=20120129184957.75f0ab12@pws-pc.ntlworld.com \
    --to=p.w.stephenson@ntlworld.com \
    --cc=zsh-workers@zsh.org \
    /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).