bug-autoconf
[Top][All Lists]
Advanced

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

Re: Autotest test suite size


From: Derek Robert Price
Subject: Re: Autotest test suite size
Date: Mon, 17 Nov 2003 12:37:45 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark D. Baushke wrote:

>Has anyone given any thought to the idea that a portable 'shell
>function' approach could also be accomplished using external shell
>scripts and the addition of the directory containing those scripts into
>the PATH for the test?
>
>While I would prefer that these entities be "shell functions" for
>performance reasons, I would not have a strong objection to them being
>external scripts as long as the autotest macros took care of generating
>them for me and let me reference the tests so generated via another
>macro invocation.


By the nature of Autoconf, shell functions could possibly be implemented
via some sort of AS_FUNCTION_DEF hook that could create a function if
the shell supports it and an external script otherwise.  As long as the
external script directory was in the path, functions could be called
normally - no macro would be needed.

This would produce the best-case scenario when functions are supported,
but would only allow output strings and exit code to be retrieved from
functions.  Functions would not be able to reliably set shell variables.

Derek

- --
                *8^)

Email: address@hidden

Get CVS support at <http://ximbiot.com>!
- --
In my day, we didn't have virtual reality. If a one-eyed razorback
barbarian warrior was chasing you with an ax, you just had to hope
you could outrun him.

    - Sarah M. Wolford, Hanover in a Washington Post contest
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQE/uQdnLD1OTBfyMaQRAs/JAJwKZNHIBt+niFfeTPI0fPD1y+/d1wCg2rp6
ZuFgtJ30FGgLHIzRHv3dMf0=
=smT9
-----END PGP SIGNATURE-----






reply via email to

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