automake
[Top][All Lists]
Advanced

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

Re: Bracketing a "check" target with pre and post actions


From: Bernd Jendrissek
Subject: Re: Bracketing a "check" target with pre and post actions
Date: Tue, 22 Jul 2008 12:21:16 +0200

On Mon, Jul 21, 2008 at 9:16 PM, Ralf Wildenhues <address@hidden> wrote:
> * Bernd Jendrissek wrote on Mon, Jul 21, 2008 at 01:31:46PM CEST:
>> check-local: check
>
> That looks broken.  check will cause the check-am target to run
> 'make check-local' which may then call 'make check' again.  You
> can run into an endless loop this way, and it is not parallel safe
> either.  I also think that you rely on undocumented features here.

Yikes, you're right, it does look broken.

Actually, I lie (*).  What I now have is this:

check: check-setup

.PHONY: check-setup
    <insert database setup here>

Seems to be working the way I want it now.

(*) Sorry, my posts to the list and the reality in my working
directory are a bit out of sync!




reply via email to

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