automake
[Top][All Lists]
Advanced

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

Re: Splitting "make check" into separate build and run targets


From: Björn Stenberg
Subject: Re: Splitting "make check" into separate build and run targets
Date: Mon, 19 Nov 2012 12:48:18 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

NightStrike wrote:
> > The "check" target depends on the test programs, which in turn depend on 
> > their source code files.
>
> make check-TESTS should suffice to do the actual running of the tests, no?

No. The check-TESTS target depends on $(TESTS), which in turn depend on their 
respective source files. So running "make check-TESTS" unmodified will result 
in an error like: "*** no rule to make 'testcase.c', needed by 'testcase'. 
Stop."

-- 
Björn



reply via email to

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