zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: zsh-workers@sunsite.auc.dk
Subject: Test (re)numbering
Date: Fri, 12 May 2000 08:31:14 +0000	[thread overview]
Message-ID: <1000512083115.ZM5065@candle.brasslantern.com> (raw)

I'd like to propose we renumber to the following numbering scheme:

00    : cd (the example test)
01-29 : Shell syntax and other features usable in scripts (no modules!)
30    : zmodload
31-49 : As 01-29, but for features loaded from modules
50    : zpty
51-   : Interactive-only features (e.g. completion)

This at least approximately follows a logical progression where most things
aren't attempted until other tests have been run on which they might depend.
This would let us specify that certain test failures (e.g. 30 and 50) abort
all tests that come after them, on the grounds that the remaining tests
can't possibly succeed.

Of course, the whole test system is likely to fail if anything in 00-30
fails, but short of rewriting ztst.zsh in Bourne I don't think we can do
anything about that.

I could easily be convinced that we should reserve more than 29 numbers for
basic shell tests, but I don't think fewer is wise.  Of course, the numbers
are presently ordered lexically, so 100-299, 1000-2999, etc. are available
if we need to shove more tests in "below" 30.  Which, if we start writing
tests for lots of combinations of setopts, we might need ...

Under the above scheme, we'd invent 30zmodload and 50zpty, and rename:

50cd.ztst		-->	00cd.ztst
51xtrace.ztst		-->	29xtrace.ztst
52zregexparse.ztst	-->	31zregexparse.ztst

and we'd also document the numbering scheme in a new Test/README or in
00cd.ztst or both.

Aside:  I wonder why zregexparse doesn't deserve it's own module ...

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


             reply	other threads:[~2000-05-12  8:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-12  8:31 Bart Schaefer [this message]
2000-05-12  8:55 ` Peter Stephenson
2000-05-12  9:16   ` Bart Schaefer
2000-05-12 10:08     ` Peter Stephenson
2000-05-12 14:17       ` 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=1000512083115.ZM5065@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=zsh-workers@sunsite.auc.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).