[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: $(EXEEXT) in TESTS required?
From: |
Bruno Haible |
Subject: |
Re: $(EXEEXT) in TESTS required? |
Date: |
Tue, 24 Jan 2006 16:34:25 +0100 |
User-agent: |
KMail/1.5 |
Ralf Wildenhues wrote:
> > check_PROGRAMS = test-lock$(EXEEXT)
> >
> > TESTS = test-lock
> ...
> What about @substituted@ values?
TESTS = @substituted@
You could treat it like @substituted@ in check_PROGRAMS, namely
- assume that $(EXEEXT) is contained in the substituted value,
- warn if EXTRA_PROGRAMS is not defined. (For
check_PROGRAMS = @substituted@
automake gives an error if EXTRA_PROGRAMS is not defined; I think here
a warning would be appropriate).
> > From 2) I conclude that it would even be acceptable to change the TESTS
> > variable itself, to assume the contents of am_TESTS_DEPENDENCIES.
>
> If I see correctly that would allow Automake to kill this line
> completely (were it not for my question above):
> > $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
Yes, I agree. The current wording in the automake doc doesn't say
that all $(check_PROGRAMS) are build before all tests are executed, therefore
someone who writes
check_PROGRAMS = foo bar # foo, when run, calls bar
TESTS = foo
is already relying on "make" to have built the 'bar' program;
"make check" will not check its status again.
Bruno
- Re: $(EXEEXT) in TESTS required?, (continued)
- Re: $(EXEEXT) in TESTS required?, Ralf Wildenhues, 2006/01/19
- Re: $(EXEEXT) in TESTS required?, Simon Josefsson, 2006/01/19
- Re: $(EXEEXT) in TESTS required?, Ralf Wildenhues, 2006/01/19
- Re: $(EXEEXT) in TESTS required?, Simon Josefsson, 2006/01/20
- Re: $(EXEEXT) in TESTS required?, Alexandre Duret-Lutz, 2006/01/29
- Re: $(EXEEXT) in TESTS required?, Simon Josefsson, 2006/01/30
- Re: $(EXEEXT) in TESTS required?, Ralf Wildenhues, 2006/01/30
- Re: $(EXEEXT) in TESTS required?, Simon Josefsson, 2006/01/30
- Re: $(EXEEXT) in TESTS required?, Bruno Haible, 2006/01/23
- Re: $(EXEEXT) in TESTS required?, Ralf Wildenhues, 2006/01/24
- Re: $(EXEEXT) in TESTS required?,
Bruno Haible <=
- Re: $(EXEEXT) in TESTS required?, Ralf Corsepius, 2006/01/25
- Re: $(EXEEXT) in TESTS required?, Simon Josefsson, 2006/01/24
- Re: $(EXEEXT) in TESTS required?, Ralf Corsepius, 2006/01/24
- Re: $(EXEEXT) in TESTS required?, Bruno Haible, 2006/01/24
Re: [bug-gnulib] $(EXEEXT) in TESTS required?, Bruno Haible, 2006/01/18