automake
[Top][All Lists]
Advanced

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

Re: split check target into check and test targets


From: Steffen Dettmer
Subject: Re: split check target into check and test targets
Date: Tue, 2 Mar 2010 11:00:39 +0100

On Wed, Feb 24, 2010 at 7:17 PM, John Calcote <address@hidden> wrote:
> Alexander's solution is great, though. I'm going to use that one myself.

For this, you'd need to change all Makefile.ams and it isn't working
recursively...

What is with having

  AC_SUBST(TESTS)

in configure.in and running:

  $ make check TESTS=

to skip test execution?

> Additionally, if I want to build a particular check program (perhaps as I'm
> working out the compiler errors, but before I'm ready to actually run the
> tests), I just type "make <check-program-name>" from that directory.

You just have to remember to add `.exe' on cygwin and MSYS,
especially within scripts / make rules ($(EXEEXT)),
otherwise (at least GNU-) make uses a default built-in rule
to compile and link <check-program-name>, typically with
different LIBS. The compiler command line looks plausible but
fails and confuses people :-)

oki,

Steffen




reply via email to

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