On Mon, 24 Nov 1997, James R. Van Zandt wrote:
> Raul Miller <firstname.lastname@example.org> writes:
> >it occurs to me that we might
> >want to include regression tests in the standard package build
> Excellent idea. The GNU coding standards suggest this Makefile target:
> Perform self-tests (if any). The user must build the program
> before running the tests, but need not install the program; you
> should write the self-tests so that they work when the program is
> built but not installed.
> We could incorporate self-tests into the source package this way, and
> invoke them from debian/rules. Ideally, this should be fed to the
> upstream developer too.
Sounds like a great idea. I've never written such a test before,
however. So let's just take my package typist, for example, which
is curses based. Should the self-tests be built using 'expect'?
I'm definitely going to need to be educated in the tools before
I can start adding self-tests to my packages.
nSLUG http://www.nslug.ns.ca email@example.com
Debian http://www.debian.org firstname.lastname@example.org
Chebucto http://www.chebucto.ns.ca email@example.com
[ pgp key fingerprint = 7F DA 09 4B BA 2C 0D E0 1B B1 31 ED C6 A9 39 4F ]
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .