Hello Behdad,

* Behdad Esfahbod wrote on Sun, Jun 17, 2007 at 01:02:27AM CEST:
> 
> For the first time I'm stuck with an automake problem and think it's an
> unfair limitation of automake rather than my skills being short.
> 
> The problem is, the make check target that automake generates builds and
> runs $(TESTS), but on systems with non-empty EXEEXT this doesn't work.
> 
> The only way I see to fixing this is to add $(EXEEXT) at the end of all
> 300 test names in my $(TESTS), which is far from elegant.

Are you using Automake 1.10?  Quoting from its NEWS file:
|  - $(EXEEXT) is automatically appended to filenames of TESTS
|  that have been declared as programs in the same Makefile.
|  This is mostly useful when some check_PROGRAMS are listed in TESTS.

Note that CVS (both HEAD and branch-1-10) has a bugfix to do the same
with XFAIL_TESTS, so that XFAILing is detected reliably.

Other than that, you may not have known about check_PROGRAMS?

If there are still issues, please show an example where things go wrong,
including on which system you are experiencing this (esp. if you are
using a cross setup with a simulator, say).

Thanks,
Ralf


Reply via email to