autoconf-patches
[Top][All Lists]
Advanced

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

Re: new autotest macro: AT_DATA_UNQUOTED


From: Gary V. Vaughan
Subject: Re: new autotest macro: AT_DATA_UNQUOTED
Date: Fri, 17 Oct 2003 10:10:16 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925 Thunderbird/0.3

Akim Demaille wrote:
 > I want my testsuite to be relocatable too.  But if I generate
 > hardcoded `AC_CONFIG_AUX_DIR([../../config])', I need to remember to
> edit that line (in every test!) if I move the tests.
You can use a macro to address this issue, there is no need for sh.

D'oh!  Good point.

 > Alternatively I could have a different AUX_DIR (and MACRO_DIR, and
 > maybe others) for each test group... but that seems like a lot of
 > duplicated files.

Right.  But using one external repository removes the standalone-ness
of the test suite :(

It only means you need the full source tree that shipped that testsuite if you want to rebuild it. No biggie...

 > Why is it bad to want to do it this way?

It's just a feeling.  Plus, the original author resisted to such a
feature, and I blindly believe in his opinions.  But I'm not making
this a religious matter: if you _need_ this, let's change it.  I
resisted until now because in each case, there was another solution:

- adjusting the wrappers
- introducing macros

Fair enough. I'm still interested in the rationale though. It is easier for me to make good decisions when thinking from the same frame of reference.

I have in mind that "testsuite" itself should be a regular
application, which you can install, use with other tools (e.g., the
bison test suite could use byacc to exercise it) etc.  That's why I'm
looking for means to keep the test suite itself self contained.

As long as you don't want to distribute it separately, I don't think what I'm planning for an autotest libtool is mutually exclusive of this.

Cheers,
        Gary.
--
  ())_.  Gary V. Vaughan    gary@(lilith.warpmail.net|gnu.org)
  ( '/   Research Scientist http://www.oranda.demon.co.uk       ,_())____
  / )=   GNU Hacker         http://www.gnu.org/software/libtool  \'      `&
`(_~)_   Tech' Author       http://sources.redhat.com/autobook   =`---d__/





reply via email to

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