[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Features command for arch

From: James Blackwell
Subject: Re: [Gnu-arch-users] Features command for arch
Date: Thu, 2 Sep 2004 19:53:38 -0400

Adrian Irving-Beer wrote:
> I hope I'm understanding the discussion so far, but it sounds like
> 'features' is a cheap way to announce capabilities that are
> programmatically (but expensively) provable.


> If that's the case, couldn't your regression tests be your calculator?

As a matter of fact, that's exactly where this came from. David's got a
load of regression tests that pyarch runs against tla. Depending on what
version of tla he's testing against, tla passes some regression tests
and fails others.

I suppose he could keep doing this, but for this idea to work reliably,
he'd have to watch the binary pretty carefully to make sure it wasn't
changed. If it is, then run all of the regression tests (which is quite
costly) again.

> If so, then perhaps the inclusion of a regression test that compares
> actual behaviour vs. 'features' flag could be a mandatory (or socially
> mandatory) prerequisite for any new addition to the features table.


That's what a feature "means". A feature means "this test case passes
for the arch developers"

> --a8Wt8u1KmwUX3Y2C
> Content-Type: application/pgp-signature; name="signature.asc"
> Content-Description: Digital signature
> Content-Disposition: inline
> Version: GnuPG v1.2.4 (GNU/Linux)
> OFhexgCfve8GQ25ii7BWqBA=
> =wKuL
> --a8Wt8u1KmwUX3Y2C--
> --===============0715977732==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> _______________________________________________
> Gnu-arch-users mailing list
> address@hidden
> GNU arch home page:
> --===============0715977732==--

James Blackwell          Try something fun: For the next 24 hours, give
Smile more!              each person you meet a compliment!

GnuPG (ID 06357400) AAE4 8C76 58DA 5902 761D  247A 8A55 DA73 0635 7400

reply via email to

[Prev in Thread] Current Thread [Next in Thread]