using color-tests backwards-portably

2009-08-12 Thread Jim Meyering
Hi Ralf, I'd like to use automake-1.11's color-tests option in libguestfs -- and more importantly, parallel-tests, but we may have a build-from-clone requirement on systems with automake older than 1.11. On those systems, it's fine to ignore or disable these two unsupported options. I proposed a

Re: only running tests if a given library is available

2009-08-12 Thread Adam Mercer
On Wed, Aug 12, 2009 at 12:28, Peter Johansson wrote: Peter > Which programs are built during `make check' is determined by > `check_PROGRAMS' and not by `TESTS'. How is check_PROGRAMS defined in your > Makefile.am? Of course, thanks wrapping check_PROGRAMS with the appropriate if/endif does the

Re: only running tests if a given library is available

2009-08-12 Thread Peter Johansson
Hi Adam, Adam Mercer wrote: but running make check tries to build the test programs even though the function wasn't found in the library. Shouldn't LALSUPPORT be set to false as this function isn't found, therefore the test programs shouldn't be built. I'm clearly missing something here? Can any

only running tests if a given library is available

2009-08-12 Thread Adam Mercer
Hi In one of my projects the test suite requires an extra library to be available that isn't required to build the rest of the package so I would like to make this library an optional dependency and then only build the test suite if configure finds this library. To detect this library I have the f