[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: $(EXEEXT) in TESTS required?
From: |
Ralf Wildenhues |
Subject: |
Re: $(EXEEXT) in TESTS required? |
Date: |
Mon, 30 Jan 2006 11:20:15 +0100 |
User-agent: |
Mutt/1.5.11 |
Hi Simon,
* Simon Josefsson wrote on Mon, Jan 30, 2006 at 10:40:56AM CET:
>
> I wonder what the best idiom for gnulib should be. We probably do not
> want to require automake CVS just yet. Should it be the one I'm using:
>
> TESTS += test-gc$(EXEEXT)
> check_PROGRAMS += test-gc
>
> or should we do
>
> selftests = test-gc$(EXEEXT)
> TESTS += $(selftests)
> check_PROGRAMS += $(selftests)
>
> Opinions?
Just that, iff you decide to go for the latter, pretty please don't use
a generic name like $(selftests) but a name that makes it clear this is
a gnulib variable, for example `gl_selftests'. Otherwise the stacking-
software-made-hard department will want gnulib to _not_ use
selftests = ..
but
selftests += ..
and require the gnulib user to initialize this variable. Not nice.
Thank you,
Ralf