[Top][All Lists]
[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
- Splitting "make check" into separate build and run targets, Björn Stenberg, 2012/11/15
- Re: Splitting "make check" into separate build and run targets, Stefano Lattarini, 2012/11/15
- Re: Splitting "make check" into separate build and run targets, Björn Stenberg, 2012/11/16
- Re: Splitting "make check" into separate build and run targets, Stefano Lattarini, 2012/11/17
- Re: Splitting "make check" into separate build and run targets, Björn Stenberg, 2012/11/19
- Re: Splitting "make check" into separate build and run targets, Stefano Lattarini, 2012/11/19
- Re: Splitting "make check" into separate build and run targets, Björn Stenberg, 2012/11/20
- Re: Splitting "make check" into separate build and run targets, Stefano Lattarini, 2012/11/21